mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
ndtest: fix typo class_regster -> class_register
Fixes: dd6cad2dcb
("testing: nvdimm: make struct class structures constant")
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20231127040026.362729-1-yi.zhang@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ee62360272
commit
76cab6f4fd
@ -924,7 +924,7 @@ static __init int ndtest_init(void)
|
||||
|
||||
nfit_test_setup(ndtest_resource_lookup, NULL);
|
||||
|
||||
rc = class_regster(&ndtest_dimm_class);
|
||||
rc = class_register(&ndtest_dimm_class);
|
||||
if (rc)
|
||||
goto err_register;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user