atheros: v3.18: update names and declarations
[librecmc/librecmc.git] / target / linux / atheros / patches-3.18 / 103-ar2315_gpio.patch
index 9b55d378f8f407afa0b094788f443da1a070cb38..532f37655b162b9d494a862f8ff36a1fd77efe17 100644 (file)
@@ -8,7 +8,7 @@
        default y
 --- a/arch/mips/ath25/ar2315.c
 +++ b/arch/mips/ath25/ar2315.c
-@@ -211,6 +211,34 @@ static struct platform_device ar2315_wdt
+@@ -207,6 +207,34 @@ static struct platform_device ar2315_wdt
        .num_resources = ARRAY_SIZE(ar2315_wdt_res)
  };
  
@@ -43,9 +43,9 @@
  /*
   * NB: We use mapping size that is larger than the actual flash size,
   * but this shouldn't be a problem here, because the flash will simply
-@@ -276,6 +304,7 @@ ar2315_init_devices(void)
-       ar231x_find_config(ar2315_flash_limit());
-       ar2315_eth_data.macaddr = ar231x_board.config->enet0_mac;
+@@ -270,6 +298,7 @@ int __init ar2315_init_devices(void)
+       ath25_find_config(ar2315_flash_limit());
+       ar2315_eth_data.macaddr = ath25_board.config->enet0_mac;
  
 +      platform_device_register(&ar2315_gpio);
        ar2315_init_gpio_leds();