diff options
author | peter <peter@FreeBSD.org> | 1999-10-08 18:27:20 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-10-08 18:27:20 +0000 |
commit | 986eaaa5501ce2e8eef2bec3698c20f5d8608618 (patch) | |
tree | 01c94d6095f03003b96ee0781e6d5bc634d5f59b /sys | |
parent | 9e2a2cf3ab29cc97c0af288f7a5b5ae347c0c486 (diff) | |
download | FreeBSD-src-986eaaa5501ce2e8eef2bec3698c20f5d8608618.zip FreeBSD-src-986eaaa5501ce2e8eef2bec3698c20f5d8608618.tar.gz |
Zap cdevsw_add() - the make_dev's take care of it and don't use
the cdevsw[] array.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/si/si.c | 10 | ||||
-rw-r--r-- | sys/i386/isa/si.c | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index 1de0aae..b51fe31 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -2756,13 +2756,3 @@ si_modulename(host_type, uart_type) } return(""); } - -static void -si_drvinit(void *unused) -{ - - cdevsw_add(&si_cdevsw); -} - -SYSINIT(sidev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,si_drvinit,NULL) - diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c index 1de0aae..b51fe31 100644 --- a/sys/i386/isa/si.c +++ b/sys/i386/isa/si.c @@ -2756,13 +2756,3 @@ si_modulename(host_type, uart_type) } return(""); } - -static void -si_drvinit(void *unused) -{ - - cdevsw_add(&si_cdevsw); -} - -SYSINIT(sidev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,si_drvinit,NULL) - |