Zap cdevsw_add() - the make_dev's take care of it and don't use
the cdevsw[] array.
This commit is contained in:
parent
856de19089
commit
90fce79ecd
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user