config SOC_AR2315
--- a/arch/mips/ath25/ar5312.c
+++ b/arch/mips/ath25/ar5312.c
-@@ -184,6 +184,22 @@ static struct platform_device ar5312_phy
+@@ -205,6 +205,22 @@ static struct platform_device ar5312_phy
.num_resources = 1,
};
+ {
+ .name = "ar5312-gpio",
+ .flags = IORESOURCE_MEM,
-+ .start = AR5312_GPIO,
-+ .end = AR5312_GPIO + 0x0c - 1,
++ .start = AR5312_GPIO_BASE,
++ .end = AR5312_GPIO_BASE + 0x0c - 1,
+ },
+};
+
#ifdef CONFIG_LEDS_GPIO
static struct gpio_led ar5312_leds[] = {
{ .name = "wlan", .gpio = 0, .active_low = 1, },
-@@ -271,6 +287,8 @@ void __init ar5312_init_devices(void)
+@@ -299,6 +315,8 @@ void __init ar5312_init_devices(void)
platform_device_register(&ar5312_physmap_flash);