OFWGPIOBUS: Make ofwgpiobus_devclass externaly visible.

It's needed for binding of gpio controllers.
This commit is contained in:
Michal Meloun 2016-05-15 14:43:52 +00:00
parent 1e383b4bca
commit e3da01a384
1 changed files with 1 additions and 1 deletions

View File

@ -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);