From a3f08403caf55c899a40dba779eac61261001ced Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 10 May 2022 10:21:37 -0700 Subject: [PATCH] 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 5b3b538d44a..a9afe9fffb2 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 edf192a4701..a339aadd20b 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);