mac80211: backport latest version from trunk (as of r37265)
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 531-ath9k_extra_platform_leds.patch
index c64c89a369953dc02b346dd170fc9db2eb7c42ef..764242cd1c44eb23fba46782ecd66fd101e52e00 100644 (file)
@@ -1,6 +1,6 @@
 --- a/include/linux/ath9k_platform.h
 +++ b/include/linux/ath9k_platform.h
-@@ -33,6 +33,9 @@ struct ath9k_platform_data {
+@@ -35,6 +35,9 @@ struct ath9k_platform_data {
        bool is_clk_25mhz;
        int (*get_mac_revision)(void);
        int (*external_reset)(void);
  #endif /* _LINUX_ATH9K_PLATFORM_H */
 --- a/drivers/net/wireless/ath/ath9k/gpio.c
 +++ b/drivers/net/wireless/ath/ath9k/gpio.c
-@@ -14,6 +14,7 @@
-  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+@@ -15,6 +15,7 @@
   */
  
-+#include <linux/ath9k_platform.h>
  #include "ath9k.h"
++#include <linux/ath9k_platform.h>
  
  /********************************/
+ /*     LED functions          */
 @@ -88,6 +89,24 @@ int ath_create_gpio_led(struct ath_softc
        return ret;
  }