mv_gpio: Since it's also an interrupt controller, attach sooner

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Emmanuel Vadot 2018-12-12 22:10:11 +00:00
parent cf60d56e05
commit e5ff483e7a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342018

View File

@ -193,7 +193,8 @@ static driver_t mv_gpio_driver = {
static devclass_t mv_gpio_devclass;
DRIVER_MODULE(mv_gpio, simplebus, mv_gpio_driver, mv_gpio_devclass, 0, 0);
EARLY_DRIVER_MODULE(mv_gpio, simplebus, mv_gpio_driver, mv_gpio_devclass, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
struct ofw_compat_data compat_data[] = {
{ "mrvl,gpio", 1 },