@ -1,14 +1,16 @@
--- a/arch/mips/ath25/Kconfig
+++ b/arch/mips/ath25/Kconfig
@@ -7,4 +7,5 @@ config SOC_AR5312
@@ -7,6 +7,7 @@ config SOC_AR5312
config SOC_AR2315
bool "Atheros 2315+ support"
depends on ATH25
+ select GPIO_AR2315
default y
config PCI_AR2315
--- a/arch/mips/ath25/ar2315.c
+++ b/arch/mips/ath25/ar2315.c
@@ -236,6 +236 ,32 @@ static struct platform_device ar2315_wdt
@@ -240,6 +240 ,32 @@ static struct platform_device ar2315_wdt
.num_resources = ARRAY_SIZE(ar2315_wdt_res)
};
@ -41,7 +43,7 @@
#ifdef CONFIG_LEDS_GPIO
static struct gpio_led ar2315_leds[6];
static struct gpio_led_platform_data ar2315_led_data = {
@@ -286,6 +312 ,11 @@ void __init ar2315_init_devices(void)
@@ -290,6 +316 ,11 @@ void __init ar2315_init_devices(void)
ath25_find_config(AR2315_SPI_READ_BASE, AR2315_SPI_READ_SIZE);
ar2315_eth_data.macaddr = ath25_board.config->enet0_mac;