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 <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>
1 parent ee62360 commit 76cab6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)