i2c-gpio: Use linux/gpio.h rather than asm/gpio.h
Subsystems (2)
PATCH 1/1 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-yzvPICuk2AATkU/[email protected]>
--- drivers/i2c/busses/i2c-gpio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/i2c-gpio.c +1 -1
@@ -15,7 +15,7 @@#include <linux/slab.h> #include <linux/platform_device.h> -#include <asm/gpio.h> +#include <linux/gpio.h> /* Toggle SDA by changing the direction of the pin */ static void i2c_gpio_setsda_dir (void *data,int state)
Signature · 1 line
1.7.9.rc1
Jean Delvare
AppliedQuoted 13 lines · Mark Brown
Direct inclusion of
asm/gpio.hhas been deprecated for a while now due to the cross platform gpiolib.Signed-off-by Mark Brown <broonie-yzvPICuk2AATkU/[email protected]>--- drivers/i2c/busses/i2c-gpio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/i2c/busses/i2c-gpio.c +0
-0
drivers/i2c/busses/i2c-gpio.c line 21
Quoted 8 lines
drivers/i2c/busses/i2c-gpio.c +1
-1@@ -15,7 +15,7 @@#include <linux/slab.h> #include <linux/platform_device.h> -#include <asm/gpio.h> +#include <linux/gpio.h> /* Toggle SDA by changing the direction of the pin */ static void i2c_gpio_setsda_dir (void *data,int state)
Applied, thanks.
Signature · 1 line
Jean Delvare