From: Mark Brown Date: Mon, 26 Mar 2012 19:47:18 +0000 (+0200) Subject: i2c-gpio: Use linux/gpio.h rather than asm/gpio.h X-Git-Tag: v3.4~351^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c54c35572a30da2fa028c1dc045facac4ee5640a;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Jean Delvare --- diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c index a651779..69fbfae 100644 --- a/drivers/i2c/busses/i2c-gpio.c +++ b/drivers/i2c/busses/i2c-gpio.c @@ -14,8 +14,7 @@ #include #include #include - -#include +#include /* Toggle SDA by changing the direction of the pin */ static void i2c_gpio_setsda_dir(void *data, int state)