svn commit: r299853 - head/sys/dev/gpio
Michal Meloun
mmel at FreeBSD.org
Sun May 15 14:43:53 UTC 2016
Author: mmel
Date: Sun May 15 14:43:52 2016
New Revision: 299853
URL: https://svnweb.freebsd.org/changeset/base/299853
Log:
OFWGPIOBUS: Make ofwgpiobus_devclass externaly visible.
It's needed for binding of gpio controllers.
Modified:
head/sys/dev/gpio/ofw_gpiobus.c
Modified: head/sys/dev/gpio/ofw_gpiobus.c
==============================================================================
--- head/sys/dev/gpio/ofw_gpiobus.c Sun May 15 14:39:41 2016 (r299852)
+++ head/sys/dev/gpio/ofw_gpiobus.c Sun May 15 14:43:52 2016 (r299853)
@@ -569,7 +569,7 @@ static device_method_t ofw_gpiobus_metho
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);
More information about the svn-src-all
mailing list