bcm63xx: convert to use gpiolib
PATCH 1/10 bcm63xx: convert to use gpiolib
This patch converts the existing GPIO
board code to use gpiolib.
Signed-off-by Florian Fainelli <[email protected]>
---
arch/mips/Kconfig +1 -1
@@ -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
@@ -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
On Sun, May 31, 2009 at 08:25:47PM +0200, Florian Fainelli wrote:
Folded into the existing patchset, thanks!
Ralf