diff options
author | ru <ru@FreeBSD.org> | 2005-09-14 19:03:14 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-09-14 19:03:14 +0000 |
commit | 3527686898778cdc3b754dabb7dcbe74b810134e (patch) | |
tree | 3f88346ccfc095da59f267c6546953b160676cbd /sys/dev/ed | |
parent | 83de50745608b94185c0b4fe8557a7d5c27aaf66 (diff) | |
download | FreeBSD-src-3527686898778cdc3b754dabb7dcbe74b810134e.zip FreeBSD-src-3527686898778cdc3b754dabb7dcbe74b810134e.tar.gz |
Make device_detach methods really work.
Diffstat (limited to 'sys/dev/ed')
-rw-r--r-- | sys/dev/ed/if_ed_cbus.c | 2 | ||||
-rw-r--r-- | sys/dev/ed/if_ed_pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ed/if_ed_cbus.c b/sys/dev/ed/if_ed_cbus.c index ce19d30..d5bdfdc 100644 --- a/sys/dev/ed/if_ed_cbus.c +++ b/sys/dev/ed/if_ed_cbus.c @@ -1605,7 +1605,7 @@ static device_method_t ed_cbus_methods[] = { /* Device interface */ DEVMETHOD(device_probe, ed_cbus_probe), DEVMETHOD(device_attach, ed_cbus_attach), - DEVMETHOD(device_attach, ed_detach), + DEVMETHOD(device_detach, ed_detach), { 0, 0 } }; diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c index a969e13..2a88576 100644 --- a/sys/dev/ed/if_ed_pci.c +++ b/sys/dev/ed/if_ed_pci.c @@ -112,7 +112,7 @@ static device_method_t ed_pci_methods[] = { /* Device interface */ DEVMETHOD(device_probe, ed_pci_probe), DEVMETHOD(device_attach, ed_pci_attach), - DEVMETHOD(device_attach, ed_detach), + DEVMETHOD(device_detach, ed_detach), { 0, 0 } }; |