atheros: v3.18: change calls logic
[librecmc/librecmc.git] / target / linux / atheros / patches-3.18 / 103-ar2315_gpio.patch
index 532f37655b162b9d494a862f8ff36a1fd77efe17..5c72ee1fbfd3ada68c14cb3857de8703c9dd65b8 100644 (file)
@@ -8,7 +8,7 @@
        default y
 --- a/arch/mips/ath25/ar2315.c
 +++ b/arch/mips/ath25/ar2315.c
-@@ -207,6 +207,34 @@ static struct platform_device ar2315_wdt
+@@ -204,6 +204,34 @@ static struct platform_device ar2315_wdt
        .num_resources = ARRAY_SIZE(ar2315_wdt_res)
  };
  
@@ -43,7 +43,7 @@
  /*
   * 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
-@@ -270,6 +298,7 @@ int __init ar2315_init_devices(void)
+@@ -264,6 +292,7 @@ void __init ar2315_init_devices(void)
        ath25_find_config(ar2315_flash_limit());
        ar2315_eth_data.macaddr = ath25_board.config->enet0_mac;