mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Staging: dream:  generic_gpio: Use linux instead of asm uaccess.h
@ 2010-03-15  3:05 Chihau Chau
  2010-03-15  5:33 ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Chihau Chau @ 2010-03-15  3:05 UTC (permalink / raw)
  To: gregkh; +Cc: pavel, devel, linux-kernel, Chihau Chau

From: Chihau Chau <chihau@gmail.com>

This is moving toward using <linux/uaccess.h> instead of the old
<asm/uaccess.h> file.

Signed-off-by: Chihau Chau <chihau@gmail.com>
---
 drivers/staging/dream/generic_gpio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/dream/generic_gpio.c b/drivers/staging/dream/generic_gpio.c
index fe24d38..bf19b85 100644
--- a/drivers/staging/dream/generic_gpio.c
+++ b/drivers/staging/dream/generic_gpio.c
@@ -18,7 +18,7 @@
 #include <linux/errno.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
-#include <asm/gpio.h>
+#include <linux/gpio.h>
 #include "gpio_chip.h"
 
 #define GPIO_NUM_TO_CHIP_INDEX(gpio) ((gpio)>>5)
-- 
1.5.6.3


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

end of thread, other threads:[~2010-04-01 17:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15  3:05 [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h Chihau Chau
2010-03-15  5:33 ` Pavel Machek
2010-03-15 18:08   ` Chihau Chau
2010-03-15 20:17     ` Pavel Machek
2010-03-16 18:45       ` Chihau Chau
2010-03-15 22:09   ` Daniel Walker
2010-04-01 17:29     ` Pavel Machek

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

Powered by JetHome