git: c331b0e4a383 - main - powerpc ps3: Remove unused devclass arguments to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:25 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c331b0e4a3835bb5076b6735e12d2eaa45806e6b commit c331b0e4a3835bb5076b6735e12d2eaa45806e6b Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:38 +0000 powerpc ps3: Remove unused devclass arguments to DRIVER_MODULE. --- sys/powerpc/ps3/ehci_ps3.c | 4 +--- sys/powerpc/ps3/if_glc.c | 4 +--- sys/powerpc/ps3/ohci_ps3.c | 4 +--- sys/powerpc/ps3/ps3bus.c | 4 +--- sys/powerpc/ps3/ps3cdrom.c | 4 +--- sys/powerpc/ps3/ps3disk.c | 4 +--- sys/powerpc/ps3/ps3pic.c | 4 +--- 7 files changed, 7 insertions(+), 21 deletions(-) diff --git a/sys/powerpc/ps3/ehci_ps3.c b/sys/powerpc/ps3/ehci_ps3.c index de91347d8593..604539cbadd0 100644 --- a/sys/powerpc/ps3/ehci_ps3.c +++ b/sys/powerpc/ps3/ehci_ps3.c @@ -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); diff --git a/sys/powerpc/ps3/if_glc.c b/sys/powerpc/ps3/if_glc.c index 39aed8218411..b3e7048a63b2 100644 --- a/sys/powerpc/ps3/if_glc.c +++ b/sys/powerpc/ps3/if_glc.c @@ -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) diff --git a/sys/powerpc/ps3/ohci_ps3.c b/sys/powerpc/ps3/ohci_ps3.c index 1a2e64b2a1c3..aeea52aa4bd0 100644 --- a/sys/powerpc/ps3/ohci_ps3.c +++ b/sys/powerpc/ps3/ohci_ps3.c @@ -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); diff --git a/sys/powerpc/ps3/ps3bus.c b/sys/powerpc/ps3/ps3bus.c index 2cb4a85db58e..180406e45212 100644 --- a/sys/powerpc/ps3/ps3bus.c +++ b/sys/powerpc/ps3/ps3bus.c @@ -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) diff --git a/sys/powerpc/ps3/ps3cdrom.c b/sys/powerpc/ps3/ps3cdrom.c index 2f9b193e9af4..157c4ee8e5c0 100644 --- a/sys/powerpc/ps3/ps3cdrom.c +++ b/sys/powerpc/ps3/ps3cdrom.c @@ -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); diff --git a/sys/powerpc/ps3/ps3disk.c b/sys/powerpc/ps3/ps3disk.c index fc972fb9b65c..33d4924301a8 100644 --- a/sys/powerpc/ps3/ps3disk.c +++ b/sys/powerpc/ps3/ps3disk.c @@ -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); diff --git a/sys/powerpc/ps3/ps3pic.c b/sys/powerpc/ps3/ps3pic.c index 423c137fb7f3..cbc51959b4f3 100644 --- a/sys/powerpc/ps3/ps3pic.c +++ b/sys/powerpc/ps3/ps3pic.c @@ -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");