projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22057c
)
i2c-gpio: Use linux/gpio.h rather than asm/gpio.h
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 26 Mar 2012 19:47:18 +0000
(21:47 +0200)
committer
Jean Delvare
<khali@endymion.delvare>
Mon, 26 Mar 2012 19:47:18 +0000
(21:47 +0200)
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>
drivers/i2c/busses/i2c-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-gpio.c
b/drivers/i2c/busses/i2c-gpio.c
index a651779d9ff7a2faf7a41f8d437f7d97b1f66b30..69fbfaedc03922ba9d4a3bcc4e9b612cdc9ee7db 100644
(file)
--- a/
drivers/i2c/busses/i2c-gpio.c
+++ b/
drivers/i2c/busses/i2c-gpio.c
@@
-14,8
+14,7
@@
#include <linux/module.h>
#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)