mfd: intel_quark_i2c_gpio: load gpio driver first
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Oct 2015 09:16:42 +0000 (12:16 +0300)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 3 Jun 2016 23:15:26 +0000 (19:15 -0400)
commit633b243bb2fcc9546f87123598130831c406e629
treec00987607c4771a7318eb3be22cca4b66b9cc0f9
parent16de798078e646c2f668c8d03be79dfdd53db3a1
mfd: intel_quark_i2c_gpio: load gpio driver first

[ Upstream commit c39dc960e9c5196022cbc46507d4782b6fc314f6 ]

On Intel Galileo boards the GPIO expander is connected to i2c bus. Moreover it
is able to generate interrupt, but interrupt line is connected to GPIO. That's
why we have to have GPIO driver in place when we will probe i2c host with
device connected to it.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/mfd/intel_quark_i2c_gpio.c