From e3da01a384d04b5606394d9de0dd23aa9bb9b867 Mon Sep 17 00:00:00 2001 From: Michal Meloun Date: Sun, 15 May 2016 14:43:52 +0000 Subject: [PATCH] OFWGPIOBUS: Make ofwgpiobus_devclass externaly visible. It's needed for binding of gpio controllers. --- sys/dev/gpio/ofw_gpiobus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/gpio/ofw_gpiobus.c b/sys/dev/gpio/ofw_gpiobus.c index 6a38cc11771..f02f4f900d3 100644 --- a/sys/dev/gpio/ofw_gpiobus.c +++ b/sys/dev/gpio/ofw_gpiobus.c @@ -569,7 +569,7 @@ static device_method_t ofw_gpiobus_methods[] = { DEVMETHOD_END }; -static devclass_t ofwgpiobus_devclass; +devclass_t ofwgpiobus_devclass; DEFINE_CLASS_1(gpiobus, ofw_gpiobus_driver, ofw_gpiobus_methods, sizeof(struct gpiobus_softc), gpiobus_driver);