diff options
Diffstat (limited to 'target/linux/adm5120/files/arch/mips/adm5120/common/gpio.c')
-rw-r--r-- | target/linux/adm5120/files/arch/mips/adm5120/common/gpio.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 855dd90c99..e60ed7ad01 100644 --- 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 */ }; -#define GPIO1_DESC(p, l) { \ +#define GPIO1_DESC(p, l) { \ .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] = { |