Zap cdevsw_add() - the make_dev's take care of it and don't use

the cdevsw[] array.
This commit is contained in:
Peter Wemm 1999-10-08 18:27:20 +00:00
parent 856de19089
commit 90fce79ecd
2 changed files with 0 additions and 20 deletions

View File

@ -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)

View File

@ -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)