diff options
author | Warner Losh <imp@FreeBSD.org> | 2003-02-16 18:03:15 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2003-02-16 18:03:15 +0000 |
commit | 3c2eeec09a6fe1255aaf99e8f10150302c50e01b (patch) | |
tree | 5f2c8cc6dddba292e8ce83d7867877698ddf4b3b | |
parent | cb259970c30d888d59a0f5241eefb88140356339 (diff) |
Notes
-rw-r--r-- | sys/dev/sio/sio_pccard.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/sio/sio_pccard.c b/sys/dev/sio/sio_pccard.c index 7f9897af6f81..8ee81dcbe4da 100644 --- a/sys/dev/sio/sio_pccard.c +++ b/sys/dev/sio/sio_pccard.c @@ -46,7 +46,6 @@ #include <dev/sio/siovar.h> static int sio_pccard_attach(device_t dev); -static int sio_pccard_detach(device_t dev); static int sio_pccard_match(device_t self); static int sio_pccard_probe(device_t dev); @@ -54,7 +53,7 @@ static device_method_t sio_pccard_methods[] = { /* Device interface */ DEVMETHOD(device_probe, pccard_compat_probe), DEVMETHOD(device_attach, pccard_compat_attach), - DEVMETHOD(device_detach, sio_pccard_detach), + DEVMETHOD(device_detach, siodetach), /* Card interface */ DEVMETHOD(card_compat_match, sio_pccard_match), @@ -110,11 +109,4 @@ sio_pccard_attach(dev) return (sioattach(dev, 0, 0UL)); } -static int -sio_pccard_detach(dev) - device_t dev; -{ - return (siodetach(dev)); -} - DRIVER_MODULE(sio, pccard, sio_pccard_driver, sio_devclass, 0, 0); |