Skip to contentSkip to conversation

bcm63xx: convert to use gpiolib

PATCH In review Florian Fainelli 2 participants 2 messages May 31, 2009 – Jun 1, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 bcm63xx: convert to use gpiolib

This patch converts the existing GPIO
board code to use gpiolib.

---

arch/mips/Kconfig +1 -1
index 08f8e3c..05ee268 100644
@@ -71,7 +71,7 @@ config BCM63XX
 	select SYS_SUPPORTS_BIG_ENDIAN
 	select SYS_HAS_EARLY_PRINTK
 	select SWAP_IO_SPACE
-	select GENERIC_GPIO
+	select ARCH_REQUIRE_GPIOLIB
 	help
 	 Support for BCM63XX based boards
 
arch/mips/bcm63xx/gpio.c +47 -17

127 lines not on this page · raw message

arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h +0 -4
index 31145df..72cee75 100644
@@ -4,10 +4,6 @@
 /* all helpers will BUG() if gpio count is >= 37. */
 #define BCM63XX_GPIO_COUNT	37
 
-void bcm63xx_gpio_set_dataout(int gpio, int val);
-int bcm63xx_gpio_get_datain(int gpio);
-void bcm63xx_gpio_set_direction(int gpio, int dir);
-
 #define GPIO_DIR_OUT	0x0
 #define GPIO_DIR_IN	0x1
 
arch/mips/include/asm/mach-bcm63xx/gpio.h +6 -41

56 lines not on this page · raw message

#1 lore raw

On Sun, May 31, 2009 at 08:25:47PM +0200, Florian Fainelli wrote:

Folded into the existing patchset, thanks!

Ralf