summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx/gpio.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-21 10:14:25 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-21 10:14:25 +0200
commit87eb367003887cdc81a5d183efea227b5b488961 (patch)
tree40f617e25a9364d573e3cd2189c9e7fa56c8a0fe /arch/mips/bcm63xx/gpio.c
parentnet: Remove two unnecessary exports (skbuff). (diff)
parentnet: Fix an RCU warning in dev_pick_tx() (diff)
downloadlinux-87eb367003887cdc81a5d183efea227b5b488961.tar.xz
linux-87eb367003887cdc81a5d183efea227b5b488961.zip
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/iwlwifi/iwl-6000.c net/core/dev.c
Diffstat (limited to 'arch/mips/bcm63xx/gpio.c')
-rw-r--r--arch/mips/bcm63xx/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/bcm63xx/gpio.c b/arch/mips/bcm63xx/gpio.c
index 87ca39046334..315bc7f79ce1 100644
--- a/arch/mips/bcm63xx/gpio.c
+++ b/arch/mips/bcm63xx/gpio.c
@@ -125,10 +125,10 @@ static struct gpio_chip bcm63xx_gpio_chip = {
int __init bcm63xx_gpio_init(void)
{
+ gpio_out_low = bcm_gpio_readl(GPIO_DATA_LO_REG);
+ gpio_out_high = bcm_gpio_readl(GPIO_DATA_HI_REG);
bcm63xx_gpio_chip.ngpio = bcm63xx_gpio_count();
pr_info("registering %d GPIOs\n", bcm63xx_gpio_chip.ngpio);
return gpiochip_add(&bcm63xx_gpio_chip);
}
-
-arch_initcall(bcm63xx_gpio_init);