Commit 76cab6f4 authored by Yi Zhang's avatar Yi Zhang Committed by Greg Kroah-Hartman
Browse files

ndtest: fix typo class_regster -> class_register



Fixes: dd6cad2d ("testing: nvdimm: make struct class structures constant")
Signed-off-by: default avatarYi Zhang <yi.zhang@redhat.com>
Reviewed-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20231127040026.362729-1-yi.zhang@redhat.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ee623602
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;