Skip to content

Commit 76cab6f

Browse files
yizhanglinuxgregkh
authored andcommitted
ndtest: fix typo class_regster -> class_register
Fixes: dd6cad2 ("testing: nvdimm: make struct class structures constant") Signed-off-by: Yi Zhang <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ee62360 commit 76cab6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/nvdimm/test/ndtest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ static __init int ndtest_init(void)
924924

925925
nfit_test_setup(ndtest_resource_lookup, NULL);
926926

927-
rc = class_regster(&ndtest_dimm_class);
927+
rc = class_register(&ndtest_dimm_class);
928928
if (rc)
929929
goto err_register;
930930

0 commit comments

Comments
 (0)