aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sr/if_sr_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sr/if_sr_pci.c')
-rw-r--r--sys/dev/sr/if_sr_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c
index 5b2b95aa35e9..a9b33612dc06 100644
--- a/sys/dev/sr/if_sr_pci.c
+++ b/sys/dev/sr/if_sr_pci.c
@@ -69,7 +69,8 @@ static driver_t sr_pci_driver = {
sizeof(struct sr_hardc),
};
-DRIVER_MODULE(if_sr, pci, sr_pci_driver, sr_devclass, 0, 0);
+DRIVER_MODULE(sr, pci, sr_pci_driver, sr_devclass, 0, 0);
+MODULE_DEPEND(sr, pci, 1, 1, 1);
static u_int src_get8_mem(u_int base, u_int off);
static u_int src_get16_mem(u_int base, u_int off);