summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-29 22:45:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-29 22:45:57 +0000
commit5bd3f8b1647baf58c5ac23b2e097d549f0978330 (patch)
tree308c109e1b6a159050b35b7a431387e1452945c1 /package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch
parent8f047925312e05a622919181a045cf8ae3ed5616 (diff)
downloadmtk-20170518-5bd3f8b1647baf58c5ac23b2e097d549f0978330.zip
mtk-20170518-5bd3f8b1647baf58c5ac23b2e097d549f0978330.tar.gz
mtk-20170518-5bd3f8b1647baf58c5ac23b2e097d549f0978330.tar.bz2
mac80211: rt2x00: add missing of.h header
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37618
Diffstat (limited to 'package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch')
-rw-r--r--package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch b/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch
index f4c86fd..bf0572e 100644
--- a/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch
+++ b/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch
@@ -1,6 +1,14 @@
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
-@@ -5965,6 +5965,13 @@ static int rt2800_init_eeprom(struct rt2
+@@ -39,6 +39,7 @@
+ #include <linux/module.h>
+ #include <linux/slab.h>
+ #include <linux/clk.h>
++#include <linux/of.h>
+
+ #include "rt2x00.h"
+ #include "rt2800lib.h"
+@@ -5966,6 +5967,13 @@ static int rt2800_init_eeprom(struct rt2
rt2800_init_led(rt2x00dev, &rt2x00dev->led_assoc, LED_TYPE_ASSOC);
rt2800_init_led(rt2x00dev, &rt2x00dev->led_qual, LED_TYPE_QUALITY);