[PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h

From: Chihau Chau
Date: Sun Mar 14 2010 - 23:06:13 EST


From: Chihau Chau <chihau@xxxxxxxxx>

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

Signed-off-by: Chihau Chau <chihau@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/