aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/freescale
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-09 21:26:44 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-09 21:26:44 +0000
commitea538dab84dd26a7405379cb3ac8753a7ce381da (patch)
tree6fcaf9b11474dc709a9de49b34c170dbd7a0430d /sys/arm64/freescale
parent82d4dc0621c92e3c05a86013eec35afbdec057a5 (diff)
downloadsrc-ea538dab84dd26a7405379cb3ac8753a7ce381da.tar.gz
src-ea538dab84dd26a7405379cb3ac8753a7ce381da.zip
Diffstat (limited to 'sys/arm64/freescale')
-rw-r--r--sys/arm64/freescale/imx/imx7gpc.c6
-rw-r--r--sys/arm64/freescale/imx/imx8mq_ccm.c4
2 files changed, 3 insertions, 7 deletions
diff --git a/sys/arm64/freescale/imx/imx7gpc.c b/sys/arm64/freescale/imx/imx7gpc.c
index baad16452982..9c4e74e4b776 100644
--- a/sys/arm64/freescale/imx/imx7gpc.c
+++ b/sys/arm64/freescale/imx/imx7gpc.c
@@ -239,9 +239,7 @@ static driver_t imx7gpc_driver = {
sizeof(struct imx7gpc_softc),
};
-static devclass_t imx7gpc_devclass;
-
-EARLY_DRIVER_MODULE(imx7gpc, ofwbus, imx7gpc_driver, imx7gpc_devclass, 0, 0,
+EARLY_DRIVER_MODULE(imx7gpc, ofwbus, imx7gpc_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
-EARLY_DRIVER_MODULE(imx7gpc, simplebus, imx7gpc_driver, imx7gpc_devclass, 0, 0,
+EARLY_DRIVER_MODULE(imx7gpc, simplebus, imx7gpc_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
diff --git a/sys/arm64/freescale/imx/imx8mq_ccm.c b/sys/arm64/freescale/imx/imx8mq_ccm.c
index 9a0c8f318e39..57b6bcc7a97b 100644
--- a/sys/arm64/freescale/imx/imx8mq_ccm.c
+++ b/sys/arm64/freescale/imx/imx8mq_ccm.c
@@ -480,7 +480,5 @@ static driver_t ccm_driver = {
sizeof(struct ccm_softc)
};
-static devclass_t ccm_devclass;
-
-EARLY_DRIVER_MODULE(ccm, simplebus, ccm_driver, ccm_devclass, 0, 0,
+EARLY_DRIVER_MODULE(ccm, simplebus, ccm_driver, 0, 0,
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);