summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-10-08 18:27:20 +0000
committerpeter <peter@FreeBSD.org>1999-10-08 18:27:20 +0000
commit986eaaa5501ce2e8eef2bec3698c20f5d8608618 (patch)
tree01c94d6095f03003b96ee0781e6d5bc634d5f59b /sys/dev/si
parent9e2a2cf3ab29cc97c0af288f7a5b5ae347c0c486 (diff)
downloadFreeBSD-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/dev/si')
-rw-r--r--sys/dev/si/si.c10
1 files changed, 0 insertions, 10 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)
-
OpenPOWER on IntegriCloud