projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[adm5120] cleanup files using checkpatch.pl
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
adm5120
/
files
/
arch
/
mips
/
adm5120
/
common
/
gpio.c
diff --git
a/target/linux/adm5120/files/arch/mips/adm5120/common/gpio.c
b/target/linux/adm5120/files/arch/mips/adm5120/common/gpio.c
index 855dd90c990d05fe6b6bc410c323e4217d108d2b..e60ed7ad0117d77ab4f4fe5035ec5082ab91809d 100644
(file)
--- a/
target/linux/adm5120/files/arch/mips/adm5120/common/gpio.c
+++ b/
target/linux/adm5120/files/arch/mips/adm5120/common/gpio.c
@@
-32,10
+32,10
@@
struct gpio1_desc {
u8 mode_shift; /* shift amount for mode bits */
};
u8 mode_shift; /* shift amount for mode bits */
};
-#define GPIO1_DESC(p, l) { \
+#define GPIO1_DESC(p, l) { \
.reg = GPIO_REG(SWITCH_REG_PORT0_LED + ((p) * 4)), \
.reg = GPIO_REG(SWITCH_REG_PORT0_LED + ((p) * 4)), \
- .iv_shift = LED0_IV_SHIFT + (l), \
- .mode_shift = (l) * 4 \
+ .iv_shift = LED0_IV_SHIFT + (l), \
+ .mode_shift = (l) * 4 \
}
static struct gpio1_desc gpio1_table[15] = {
}
static struct gpio1_desc gpio1_table[15] = {