From 70c394536ba91c29f5aff2f25f65708f41932ceb Mon Sep 17 00:00:00 2001 From: Maxime Bizon Date: Sat, 30 Jan 2010 18:34:58 +0100 Subject: [PATCH] --- yaml --- r: 189787 b: refs/heads/master c: 9538ca636f2fa28ae1514327328e2869f0215981 h: refs/heads/master i: 189785: d9d6ed614f6028c5a39bbd28c58944e4d0756c04 189783: 64af75a9354784ab164c1000bc0f153fc19bbc92 v: v3 --- [refs] | 2 +- trunk/arch/mips/bcm63xx/gpio.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c4672c612c08..88bd2e459fd2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e23a90eb736b18c16fd6d59e8c1fa6a16ac3bc0b +refs/heads/master: 9538ca636f2fa28ae1514327328e2869f0215981 diff --git a/trunk/arch/mips/bcm63xx/gpio.c b/trunk/arch/mips/bcm63xx/gpio.c index 37253452d396..315bc7f79ce1 100644 --- a/trunk/arch/mips/bcm63xx/gpio.c +++ b/trunk/arch/mips/bcm63xx/gpio.c @@ -125,6 +125,8 @@ 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);