diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-26 15:47:18 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-03-26 15:47:18 -0400 |
commit | c54c35572a30da2fa028c1dc045facac4ee5640a (patch) | |
tree | 42bcc5892338f6c96efa6fca2c8f114c4f04d223 /drivers/i2c | |
parent | e22057c8599373e5caef0bc42bdb95d2a361ab0d (diff) |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-gpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c index a651779d9ff7..69fbfaedc039 100644 --- a/drivers/i2c/busses/i2c-gpio.c +++ b/drivers/i2c/busses/i2c-gpio.c | |||
@@ -14,8 +14,7 @@ | |||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | 17 | #include <linux/gpio.h> | |
18 | #include <asm/gpio.h> | ||
19 | 18 | ||
20 | /* Toggle SDA by changing the direction of the pin */ | 19 | /* Toggle SDA by changing the direction of the pin */ |
21 | static void i2c_gpio_setsda_dir(void *data, int state) | 20 | static void i2c_gpio_setsda_dir(void *data, int state) |