diff options
author | jake <jake@FreeBSD.org> | 2000-06-16 07:20:29 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-06-16 07:20:29 +0000 |
commit | 98624ccaf3156926d938e7b36066cb2b9dcf45c8 (patch) | |
tree | f2d85903bb71eedf2bf20a3d853169ac444cc9ab /sys/dev/iicbus | |
parent | a7ab185a1767324b14d3d98bb6c15df789826a15 (diff) | |
download | FreeBSD-src-98624ccaf3156926d938e7b36066cb2b9dcf45c8.zip FreeBSD-src-98624ccaf3156926d938e7b36066cb2b9dcf45c8.tar.gz |
Allow these drivers to be detached.
Reviewed by: mdodd
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r-- | sys/dev/iicbus/iicbb.c | 1 | ||||
-rw-r--r-- | sys/dev/iicbus/iicsmb.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c index 6dbdc15..63f0249 100644 --- a/sys/dev/iicbus/iicbb.c +++ b/sys/dev/iicbus/iicbb.c @@ -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), diff --git a/sys/dev/iicbus/iicsmb.c b/sys/dev/iicbus/iicsmb.c index cd2595e..02bec7f 100644 --- a/sys/dev/iicbus/iicsmb.c +++ b/sys/dev/iicbus/iicsmb.c @@ -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), |