aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/rdc321x-gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/rdc321x-gpio.c b/drivers/gpio/rdc321x-gpio.c
index 22f31dc50104..2762698e0204 100644
--- a/drivers/gpio/rdc321x-gpio.c
+++ b/drivers/gpio/rdc321x-gpio.c
@@ -73,7 +73,7 @@ static void rdc_gpio_set_value_impl(struct gpio_chip *chip,
73 gpch->data_reg[reg] &= ~(1 << (gpio & 0x1f)); 73 gpch->data_reg[reg] &= ~(1 << (gpio & 0x1f));
74 74
75 pci_write_config_dword(gpch->sb_pdev, 75 pci_write_config_dword(gpch->sb_pdev,
76 reg ? gpch->reg1_data_base : gpch->reg2_data_base, 76 reg ? gpch->reg2_data_base : gpch->reg1_data_base,
77 gpch->data_reg[reg]); 77 gpch->data_reg[reg]);
78} 78}
79 79