mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
2 changed files with 0 additions and 20 deletions
|
|
@ -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 a new issue