public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] I2C-GPIO: Don't include the asm/gpio.h directly
@ 2010-09-14  7:30 Kyungmin Park
  0 siblings, 0 replies; 3+ messages in thread
From: Kyungmin Park @ 2010-09-14  7:30 UTC (permalink / raw)
  To: Haavard Skinnemoen, Jean Delvare (PC drivers, core),
	Ben Dooks (embedded platforms), Wolfram Sang

Don't include asm/gpio.h directly. Use the linux/gpio.h.

Signed-off-by: Kyungmin Park <kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
---
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index d9aa9a6..0c1cc37 100644
--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -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)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-15  6:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100914073053.GA15611@july>
2010-09-14 23:20 ` [PATCH] I2C-GPIO: Don't include the asm/gpio.h directly Ben Dooks
     [not found]   ` <20100914232026.GB7494-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2010-09-15  6:35     ` Jean Delvare
2010-09-14  7:30 Kyungmin Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox