MFC rev. 1.3:
Spotted a call to a cdev-related function not wrapped in "#ifdef KBD_INSTALL_CDEV".
This commit is contained in:
parent
c2d4c40d7e
commit
d537a9f4ab
@ -1283,7 +1283,9 @@ kbdmux_modevent(module_t mod, int type, void *data)
|
||||
|
||||
if ((error = (*sw->enable)(kbd)) != 0) {
|
||||
(*sw->disable)(kbd);
|
||||
#ifdef KBD_INSTALL_CDEV
|
||||
kbd_detach(kbd);
|
||||
#endif
|
||||
(*sw->term)(kbd);
|
||||
kbd_delete_driver(&kbdmux_kbd_driver);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user