powerpc ps3: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-10 10:21:38 -07:00
parent 5edf159ff1
commit c331b0e4a3
7 changed files with 7 additions and 21 deletions

View File

@ -180,7 +180,5 @@ static driver_t ehci_ps3_driver = {
.size = sizeof(ehci_softc_t),
};
static devclass_t ehci_ps3_devclass;
DRIVER_MODULE(ehci_ps3, ps3bus, ehci_ps3_driver, ehci_ps3_devclass, 0, 0);
DRIVER_MODULE(ehci_ps3, ps3bus, ehci_ps3_driver, 0, 0);
MODULE_DEPEND(ehci_ps3, usb, 1, 1, 1);

View File

@ -92,9 +92,7 @@ static driver_t glc_driver = {
sizeof(struct glc_softc)
};
static devclass_t glc_devclass;
DRIVER_MODULE(glc, ps3bus, glc_driver, glc_devclass, 0, 0);
DRIVER_MODULE(glc, ps3bus, glc_driver, 0, 0);
static int
glc_probe(device_t dev)

View File

@ -167,7 +167,5 @@ static driver_t ohci_ps3_driver = {
.size = sizeof(ohci_softc_t),
};
static devclass_t ohci_ps3_devclass;
DRIVER_MODULE(ohci_ps3, ps3bus, ohci_ps3_driver, ohci_ps3_devclass, 0, 0);
DRIVER_MODULE(ohci_ps3, ps3bus, ohci_ps3_driver, 0, 0);
MODULE_DEPEND(ohci_ps3, usb, 1, 1, 1);

View File

@ -141,9 +141,7 @@ static driver_t ps3bus_driver = {
sizeof(struct ps3bus_softc)
};
static devclass_t ps3bus_devclass;
DRIVER_MODULE(ps3bus, nexus, ps3bus_driver, ps3bus_devclass, 0, 0);
DRIVER_MODULE(ps3bus, nexus, ps3bus_driver, 0, 0);
static void
ps3bus_identify(driver_t *driver, device_t parent)

View File

@ -705,7 +705,5 @@ static driver_t ps3cdrom_driver = {
sizeof(struct ps3cdrom_softc),
};
static devclass_t ps3cdrom_devclass;
DRIVER_MODULE(ps3cdrom, ps3bus, ps3cdrom_driver, ps3cdrom_devclass, 0, 0);
DRIVER_MODULE(ps3cdrom, ps3bus, ps3cdrom_driver, 0, 0);
MODULE_DEPEND(ps3cdrom, cam, 1, 1, 1);

View File

@ -698,6 +698,4 @@ static driver_t ps3disk_driver = {
sizeof(struct ps3disk_softc),
};
static devclass_t ps3disk_devclass;
DRIVER_MODULE(ps3disk, ps3bus, ps3disk_driver, ps3disk_devclass, 0, 0);
DRIVER_MODULE(ps3disk, ps3bus, ps3disk_driver, 0, 0);

View File

@ -91,9 +91,7 @@ static driver_t ps3pic_driver = {
sizeof(struct ps3pic_softc)
};
static devclass_t ps3pic_devclass;
DRIVER_MODULE(ps3pic, nexus, ps3pic_driver, ps3pic_devclass, 0, 0);
DRIVER_MODULE(ps3pic, nexus, ps3pic_driver, 0, 0);
static MALLOC_DEFINE(M_PS3PIC, "ps3pic", "PS3 PIC");