aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gpio/pl061_fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/gpio/pl061_fdt.c')
-rw-r--r--sys/dev/gpio/pl061_fdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/gpio/pl061_fdt.c b/sys/dev/gpio/pl061_fdt.c
index 26b30dc675ad..af191b78420a 100644
--- a/sys/dev/gpio/pl061_fdt.c
+++ b/sys/dev/gpio/pl061_fdt.c
@@ -90,8 +90,6 @@ static device_method_t pl061_fdt_methods[] = {
DEFINE_CLASS_1(gpio, pl061_fdt_driver, pl061_fdt_methods,
sizeof(struct pl061_softc), pl061_driver);
-static devclass_t pl061_devclass;
-
-EARLY_DRIVER_MODULE(pl061, ofwbus, pl061_fdt_driver, pl061_devclass, NULL, NULL,
+EARLY_DRIVER_MODULE(pl061, ofwbus, pl061_fdt_driver, NULL, NULL,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
MODULE_DEPEND(pl061, gpiobus, 1, 1, 1);