git: f92448c99372 - main - powerpc psim: Remove unused devclass arguments to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:27 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f92448c993729dc8a3d68ff61d56d186d4a141cf commit f92448c993729dc8a3d68ff61d56d186d4a141cf 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 psim: Remove unused devclass arguments to DRIVER_MODULE. --- sys/powerpc/psim/ata_iobus.c | 5 +---- sys/powerpc/psim/iobus.c | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/powerpc/psim/ata_iobus.c b/sys/powerpc/psim/ata_iobus.c index 95d916df3b64..af69e06c764c 100644 --- a/sys/powerpc/psim/ata_iobus.c +++ b/sys/powerpc/psim/ata_iobus.c @@ -92,10 +92,7 @@ static driver_t ata_iobus_driver = { 0, }; -static devclass_t ata_iobus_devclass; - -DRIVER_MODULE(ataiobus, iobus, ata_iobus_driver, ata_iobus_devclass, NULL, - NULL); +DRIVER_MODULE(ataiobus, iobus, ata_iobus_driver, NULL, NULL); MODULE_DEPEND(ata, ata, 1, 1, 1); static int diff --git a/sys/powerpc/psim/iobus.c b/sys/powerpc/psim/iobus.c index 03aae266deaa..3e2c6aa658fc 100644 --- a/sys/powerpc/psim/iobus.c +++ b/sys/powerpc/psim/iobus.c @@ -115,9 +115,7 @@ static driver_t iobus_driver = { sizeof(struct iobus_softc) }; -devclass_t iobus_devclass; - -DRIVER_MODULE(iobus, ofwbus, iobus_driver, iobus_devclass, 0, 0); +DRIVER_MODULE(iobus, ofwbus, iobus_driver, 0, 0); static int iobus_probe(device_t dev)