adb: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
42f777fc20
commit
c46fd01853
@ -78,9 +78,7 @@ static driver_t abtn_driver = {
|
|||||||
sizeof(struct abtn_softc),
|
sizeof(struct abtn_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t abtn_devclass;
|
DRIVER_MODULE(abtn, adb, abtn_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(abtn, adb, abtn_driver, abtn_devclass, 0, 0);
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
abtn_probe(device_t dev)
|
abtn_probe(device_t dev)
|
||||||
|
@ -111,9 +111,7 @@ static driver_t adb_kbd_driver = {
|
|||||||
sizeof(struct adb_kbd_softc),
|
sizeof(struct adb_kbd_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t adb_kbd_devclass;
|
DRIVER_MODULE(akbd, adb, adb_kbd_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(akbd, adb, adb_kbd_driver, adb_kbd_devclass, 0, 0);
|
|
||||||
|
|
||||||
#ifdef AKBD_EMULATE_ATKBD
|
#ifdef AKBD_EMULATE_ATKBD
|
||||||
|
|
||||||
|
@ -116,9 +116,7 @@ static driver_t adb_mouse_driver = {
|
|||||||
sizeof(struct adb_mouse_softc),
|
sizeof(struct adb_mouse_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t adb_mouse_devclass;
|
DRIVER_MODULE(ams, adb, adb_mouse_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(ams, adb, adb_mouse_driver, adb_mouse_devclass, 0, 0);
|
|
||||||
|
|
||||||
static struct cdevsw ams_cdevsw = {
|
static struct cdevsw ams_cdevsw = {
|
||||||
.d_version = D_VERSION,
|
.d_version = D_VERSION,
|
||||||
|
Loading…
Reference in New Issue
Block a user