aac: Remove unused devclass argument to DRIVER_MODULE.
This commit is contained in:
parent
d5a7306c75
commit
5a2ae6d050
@ -88,8 +88,6 @@ static u_int32_t aac_cam_reset_bus(struct cam_sim *, union ccb *);
|
||||
static u_int32_t aac_cam_abort_ccb(struct cam_sim *, union ccb *);
|
||||
static u_int32_t aac_cam_term_io(struct cam_sim *, union ccb *);
|
||||
|
||||
static devclass_t aac_pass_devclass;
|
||||
|
||||
static device_method_t aac_pass_methods[] = {
|
||||
DEVMETHOD(device_probe, aac_cam_probe),
|
||||
DEVMETHOD(device_attach, aac_cam_attach),
|
||||
@ -103,7 +101,7 @@ static driver_t aac_pass_driver = {
|
||||
sizeof(struct aac_cam)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(aacp, aac, aac_pass_driver, aac_pass_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(aacp, aac, aac_pass_driver, NULL, NULL);
|
||||
MODULE_DEPEND(aacp, cam, 1, 1, 1);
|
||||
|
||||
static MALLOC_DEFINE(M_AACCAM, "aaccam", "AAC CAM info");
|
||||
|
@ -69,8 +69,6 @@ static disk_close_t aac_disk_close;
|
||||
static disk_strategy_t aac_disk_strategy;
|
||||
static dumper_t aac_disk_dump;
|
||||
|
||||
static devclass_t aac_disk_devclass;
|
||||
|
||||
static device_method_t aac_disk_methods[] = {
|
||||
DEVMETHOD(device_probe, aac_disk_probe),
|
||||
DEVMETHOD(device_attach, aac_disk_attach),
|
||||
@ -84,7 +82,7 @@ static driver_t aac_disk_driver = {
|
||||
sizeof(struct aac_disk)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(aacd, aac, aac_disk_driver, aac_disk_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(aacd, aac, aac_disk_driver, NULL, NULL);
|
||||
|
||||
/*
|
||||
* Handle open from generic layer.
|
||||
|
@ -83,9 +83,7 @@ static driver_t aac_pci_driver = {
|
||||
sizeof(struct aac_softc)
|
||||
};
|
||||
|
||||
static devclass_t aac_devclass;
|
||||
|
||||
DRIVER_MODULE(aac, pci, aac_pci_driver, aac_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(aac, pci, aac_pci_driver, NULL, NULL);
|
||||
MODULE_DEPEND(aac, pci, 1, 1, 1);
|
||||
|
||||
static const struct aac_ident
|
||||
@ -492,8 +490,7 @@ static driver_t aacch_driver = {
|
||||
1 /* no softc */
|
||||
};
|
||||
|
||||
static devclass_t aacch_devclass;
|
||||
DRIVER_MODULE(aacch, pci, aacch_driver, aacch_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(aacch, pci, aacch_driver, NULL, NULL);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;", pci, aacch,
|
||||
aac_identifiers, nitems(aac_identifiers) - 1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user