diff options
-rw-r--r-- | sys/pccard/pcic_pci.c | 7 | ||||
-rw-r--r-- | sys/pci/pcic_p.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index 6da55bd77771..4d4c18d5e7b2 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -392,10 +392,17 @@ pcic_pci_attach(device_t dev) return 0; } +static int +pcic_pci_detach(device_t dev) +{ + return 0; +} + static device_method_t pcic_pci_methods[] = { /* Device interface */ DEVMETHOD(device_probe, pcic_pci_probe), DEVMETHOD(device_attach, pcic_pci_attach), + DEVMETHOD(device_detach, pcic_pci_detach), DEVMETHOD(device_suspend, bus_generic_suspend), DEVMETHOD(device_resume, bus_generic_resume), DEVMETHOD(device_shutdown, bus_generic_shutdown), diff --git a/sys/pci/pcic_p.c b/sys/pci/pcic_p.c index 6da55bd77771..4d4c18d5e7b2 100644 --- a/sys/pci/pcic_p.c +++ b/sys/pci/pcic_p.c @@ -392,10 +392,17 @@ pcic_pci_attach(device_t dev) return 0; } +static int +pcic_pci_detach(device_t dev) +{ + return 0; +} + static device_method_t pcic_pci_methods[] = { /* Device interface */ DEVMETHOD(device_probe, pcic_pci_probe), DEVMETHOD(device_attach, pcic_pci_attach), + DEVMETHOD(device_detach, pcic_pci_detach), DEVMETHOD(device_suspend, bus_generic_suspend), DEVMETHOD(device_resume, bus_generic_resume), DEVMETHOD(device_shutdown, bus_generic_shutdown), |