aboutsummaryrefslogtreecommitdiffstats
path: root/modules/splat/splat-ctl.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-13 09:30:59 -0800
committerBrian Behlendorf <[email protected]>2009-01-13 09:30:59 -0800
commitb871b8cdef68bdfa99e0fdc45734af810b75e998 (patch)
treee5f66441c78d132ace417b7a8e91981b350afd49 /modules/splat/splat-ctl.c
parent1e4ed6c9907570d5844186b3f559665bef8ff041 (diff)
Rework ddi_strtox calls to a native implementation which actuall supports the EINVAL, ERANGE error handling, plus add a regression suite to ensure I got it atleast mostly right
Diffstat (limited to 'modules/splat/splat-ctl.c')
-rw-r--r--modules/splat/splat-ctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/splat/splat-ctl.c b/modules/splat/splat-ctl.c
index 15bc23a97..41a844789 100644
--- a/modules/splat/splat-ctl.c
+++ b/modules/splat/splat-ctl.c
@@ -608,6 +608,7 @@ splat_init(void)
SPLAT_SUBSYSTEM_INIT(kobj);
SPLAT_SUBSYSTEM_INIT(atomic);
SPLAT_SUBSYSTEM_INIT(list);
+ SPLAT_SUBSYSTEM_INIT(generic);
dev = MKDEV(SPLAT_MAJOR, 0);
if ((rc = register_chrdev_region(dev, SPLAT_MINORS, SPLAT_NAME)))
@@ -654,6 +655,7 @@ splat_fini(void)
cdev_del(&splat_cdev);
unregister_chrdev_region(dev, SPLAT_MINORS);
+ SPLAT_SUBSYSTEM_FINI(generic);
SPLAT_SUBSYSTEM_FINI(list);
SPLAT_SUBSYSTEM_FINI(atomic);
SPLAT_SUBSYSTEM_FINI(kobj);