aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-09 19:22:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-09 19:22:00 +0000
commite8590c9702298a402a29fa846fcfdc2ad0b4d735 (patch)
tree02feb2274b1053772c2aaa2faa35a99d8fc6a5cc /sys/dev
parent5f31d14a92353b6b0acf6960511b3acf3911d163 (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/gpio/ofw_gpiobus.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/gpio/ofw_gpiobus.c b/sys/dev/gpio/ofw_gpiobus.c
index 5c11f65baf7f..fb2969a78a87 100644
--- a/sys/dev/gpio/ofw_gpiobus.c
+++ b/sys/dev/gpio/ofw_gpiobus.c
@@ -507,11 +507,8 @@ static device_method_t ofw_gpiobus_methods[] = {
DEVMETHOD_END
};
-devclass_t ofwgpiobus_devclass;
-
DEFINE_CLASS_1(gpiobus, ofw_gpiobus_driver, ofw_gpiobus_methods,
sizeof(struct gpiobus_softc), gpiobus_driver);
-EARLY_DRIVER_MODULE(ofw_gpiobus, gpio, ofw_gpiobus_driver, ofwgpiobus_devclass,
- 0, 0, BUS_PASS_BUS);
+EARLY_DRIVER_MODULE(ofw_gpiobus, gpio, ofw_gpiobus_driver, 0, 0, BUS_PASS_BUS);
MODULE_VERSION(ofw_gpiobus, 1);
MODULE_DEPEND(ofw_gpiobus, gpiobus, 1, 1, 1);