summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx/ahc_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/aic7xxx/ahc_pci.c')
-rw-r--r--sys/dev/aic7xxx/ahc_pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c
index 6060810..48ccc40 100644
--- a/sys/dev/aic7xxx/ahc_pci.c
+++ b/sys/dev/aic7xxx/ahc_pci.c
@@ -50,15 +50,15 @@ static device_method_t ahc_pci_device_methods[] = {
};
static driver_t ahc_pci_driver = {
- "ahc",
+ "ahc_pci",
ahc_pci_device_methods,
sizeof(struct ahc_softc)
};
-static devclass_t ahc_devclass;
+static devclass_t ahc_pci_devclass;
-DRIVER_MODULE(ahc, pci, ahc_pci_driver, ahc_devclass, 0, 0);
-DRIVER_MODULE(ahc, cardbus, ahc_pci_driver, ahc_devclass, 0, 0);
+DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, ahc_pci_devclass, 0, 0);
+DRIVER_MODULE(ahc_pci, cardbus, ahc_pci_driver, ahc_pci_devclass, 0, 0);
MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1);
MODULE_VERSION(ahc_pci, 1);
OpenPOWER on IntegriCloud