mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 08:43:23 +00:00
Allow these drivers to be detached.
Reviewed by: mdodd
This commit is contained in:
parent
a46c6a5114
commit
f1c7314284
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61722
@ -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