Spotted a call to a cdev-related function not wrapped
in "#ifdef KBD_INSTALL_CDEV". Noticed by: glebius Uncovered by: recent change to modules' Makefiles
This commit is contained in:
parent
6fb0cd4149
commit
f4b6099f4e
@ -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