1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ar71xx] add AR913x specific GPIO function bit definitions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16583 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2009-06-27 16:57:45 +00:00
parent 98724ee830
commit 52956e6de0
2 changed files with 21 additions and 9 deletions

View File

@@ -153,8 +153,8 @@ static inline void rb433_add_device_spi(void) {}
static void __init rb4xx_generic_setup(void)
{
ar71xx_gpio_function_enable(GPIO_FUNC_SPI_CS1_EN |
GPIO_FUNC_SPI_CS2_EN);
ar71xx_gpio_function_enable(AR71XX_GPIO_FUNC_SPI_CS1_EN |
AR71XX_GPIO_FUNC_SPI_CS2_EN);
ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(rb4xx_leds_gpio),
rb4xx_leds_gpio);