Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c-gpio: Use linux/gpio.h rather than asm/gpio.h

Direct inclusion of asm/gpio.h has been deprecated for a while now due
to the cross platform gpiolib.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by

Mark Brown and committed by
Jean Delvare
c54c3557 e22057c8

+1 -2
+1 -2
drivers/i2c/busses/i2c-gpio.c
··· 14 14 #include <linux/module.h> 15 15 #include <linux/slab.h> 16 16 #include <linux/platform_device.h> 17 - 18 - #include <asm/gpio.h> 17 + #include <linux/gpio.h> 19 18 20 19 /* Toggle SDA by changing the direction of the pin */ 21 20 static void i2c_gpio_setsda_dir(void *data, int state)