projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ramips] add GPIO configuration feature
[openwrt.git]
/
target
/
linux
/
ramips
/
files
/
arch
/
mips
/
ralink
/
common
/
gpio.c
diff --git
a/target/linux/ramips/files/arch/mips/ralink/common/gpio.c
b/target/linux/ramips/files/arch/mips/ralink/common/gpio.c
index
af4cac7
..
4e90df0
100644
(file)
--- a/
target/linux/ramips/files/arch/mips/ralink/common/gpio.c
+++ b/
target/linux/ramips/files/arch/mips/ralink/common/gpio.c
@@
-204,7
+204,7
@@
static struct ramips_gpio_chip ramips_gpio_chip2 = {
static __init void ramips_gpio_chip_add(struct ramips_gpio_chip *rg)
{
static __init void ramips_gpio_chip_add(struct ramips_gpio_chip *rg)
{
- /* set p
rio
rity to low for all lines */
+ /* set p
ola
rity to low for all lines */
ramips_gpio_wr(rg, RAMIPS_GPIO_REG_POL, 0);
gpiochip_add(&rg->chip);
ramips_gpio_wr(rg, RAMIPS_GPIO_REG_POL, 0);
gpiochip_add(&rg->chip);
@@
-220,5
+220,3
@@
__init int ramips_gpio_init(void)
return 0;
}
return 0;
}
-
-arch_initcall(ramips_gpio_init);
This page took
0.039351 seconds
and
4
git commands to generate.