rk3066b: fix gpio usage
author黄涛 <huangtao@rock-chips.com>
Tue, 28 Aug 2012 02:54:45 +0000 (10:54 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 28 Aug 2012 02:55:14 +0000 (10:55 +0800)
drivers/gpio/gpio-rk30.c

index 6cea67673cc8089335298ba3fda45e55e322145d..5a4b95174b28f2c7777ab214ca49862c1f522ae5 100755 (executable)
@@ -100,7 +100,7 @@ static struct rk30_gpio_bank rk30_gpio_banks[] = {
        RK30_GPIO_BANK(1),
        RK30_GPIO_BANK(2),
        RK30_GPIO_BANK(3),
-#ifdef CONFIG_ARCH_RK30
+#if defined(CONFIG_ARCH_RK30) && !defined(CONFIG_ARCH_RK3066B)
        RK30_GPIO_BANK(4),
        RK30_GPIO_BANK(6),
 #endif