diff options
author | thompsa <thompsa@FreeBSD.org> | 2011-10-05 08:33:50 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2011-10-05 08:33:50 +0000 |
commit | 58a76bb04f6febb9b77e88729b156b605c0be242 (patch) | |
tree | 3008f67e3931b5d3cc82caae77f6934e724725c5 /sys/arm/xscale/ixp425/avila_gpio.c | |
parent | 3f5abb3529f76a2eaf2bd19c14583e0f39afac13 (diff) | |
download | FreeBSD-src-58a76bb04f6febb9b77e88729b156b605c0be242.zip FreeBSD-src-58a76bb04f6febb9b77e88729b156b605c0be242.tar.gz |
Add missing newbus glue, this has never attached properly to gpiobus.
Diffstat (limited to 'sys/arm/xscale/ixp425/avila_gpio.c')
-rw-r--r-- | sys/arm/xscale/ixp425/avila_gpio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm/xscale/ixp425/avila_gpio.c b/sys/arm/xscale/ixp425/avila_gpio.c index b88bb28..c3deda9 100644 --- a/sys/arm/xscale/ixp425/avila_gpio.c +++ b/sys/arm/xscale/ixp425/avila_gpio.c @@ -356,5 +356,10 @@ static driver_t gpio_avila_driver = { sizeof(struct avila_gpio_softc), }; static devclass_t gpio_avila_devclass; +extern devclass_t gpiobus_devclass, gpioc_devclass; +extern driver_t gpiobus_driver, gpioc_driver; DRIVER_MODULE(gpio_avila, ixp, gpio_avila_driver, gpio_avila_devclass, 0, 0); +DRIVER_MODULE(gpiobus, gpio_avila, gpiobus_driver, gpiobus_devclass, 0, 0); +DRIVER_MODULE(gpioc, gpio_avila, gpioc_driver, gpioc_devclass, 0, 0); +MODULE_VERSION(gpio_avila, 1); |