projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the gpio init (#2148)
[openwrt.git]
/
target
/
linux
/
ar7-2.6
/
files
/
drivers
/
char
/
ar7_gpio.c
diff --git
a/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
b/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
index
d8dc2e1
..
a5245da
100644
(file)
--- a/
target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
+++ b/
target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
@@
-30,8
+30,7
@@
#include <linux/types.h>
#include <linux/cdev.h>
#include <linux/types.h>
#include <linux/cdev.h>
-
-#include <asm/gpio.h>
+#include <gpio.h>
#define DRVNAME "ar7_gpio"
#define LONGNAME "TI AR7 GPIOs Driver"
#define DRVNAME "ar7_gpio"
#define LONGNAME "TI AR7 GPIOs Driver"
@@
-142,6
+141,8
@@
static int __init ar7_gpio_init(void)
ar7_gpio_major = rc;
ar7_gpio_major = rc;
+ rc = 0;
+
goto out;
out_put:
goto out;
out_put:
This page took
0.022873 seconds
and
4
git commands to generate.