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
d0f68000b1
commit
3423126960
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151440
@ -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…
Reference in New Issue
Block a user