git: a3f08403caf5 - main - xdma: Remove unused devclass arguments to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:07 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a3f08403caf55c899a40dba779eac61261001ced commit a3f08403caf55c899a40dba779eac61261001ced Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:37 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:37 +0000 xdma: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/xdma/controller/pl330.c | 4 +--- sys/dev/xdma/xdma_fdt_test.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/xdma/controller/pl330.c b/sys/dev/xdma/controller/pl330.c index 5b3b538d44a5..a9afe9fffb25 100644 --- a/sys/dev/xdma/controller/pl330.c +++ b/sys/dev/xdma/controller/pl330.c @@ -640,7 +640,5 @@ static driver_t pl330_driver = { sizeof(struct pl330_softc), }; -static devclass_t pl330_devclass; - -EARLY_DRIVER_MODULE(pl330, simplebus, pl330_driver, pl330_devclass, 0, 0, +EARLY_DRIVER_MODULE(pl330, simplebus, pl330_driver, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE); diff --git a/sys/dev/xdma/xdma_fdt_test.c b/sys/dev/xdma/xdma_fdt_test.c index edf192a47016..a339aadd20ba 100644 --- a/sys/dev/xdma/xdma_fdt_test.c +++ b/sys/dev/xdma/xdma_fdt_test.c @@ -426,6 +426,4 @@ static driver_t xdmatest_driver = { sizeof(struct xdmatest_softc), }; -static devclass_t xdmatest_devclass; - -DRIVER_MODULE(xdmatest, simplebus, xdmatest_driver, xdmatest_devclass, 0, 0); +DRIVER_MODULE(xdmatest, simplebus, xdmatest_driver, 0, 0);