Allow these drivers to be detached.
Reviewed by: mdodd
This commit is contained in:
parent
a7ab185a17
commit
98624ccaf3
@ -80,6 +80,7 @@ static device_method_t iicbb_methods[] = {
|
||||
/* device interface */
|
||||
DEVMETHOD(device_probe, iicbb_probe),
|
||||
DEVMETHOD(device_attach, iicbb_attach),
|
||||
DEVMETHOD(device_detach, bus_generic_detach),
|
||||
|
||||
/* bus interface */
|
||||
DEVMETHOD(bus_print_child, iicbb_print_child),
|
||||
|
@ -100,6 +100,7 @@ static device_method_t iicsmb_methods[] = {
|
||||
/* device interface */
|
||||
DEVMETHOD(device_probe, iicsmb_probe),
|
||||
DEVMETHOD(device_attach, iicsmb_attach),
|
||||
DEVMETHOD(device_detach, bus_generic_detach),
|
||||
|
||||
/* bus interface */
|
||||
DEVMETHOD(bus_print_child, bus_generic_print_child),
|
||||
|
Loading…
Reference in New Issue
Block a user