From 986eaaa5501ce2e8eef2bec3698c20f5d8608618 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 8 Oct 1999 18:27:20 +0000 Subject: Zap cdevsw_add() - the make_dev's take care of it and don't use the cdevsw[] array. --- sys/dev/si/si.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sys/dev/si') 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) - -- cgit v1.1