aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-10-31 23:53:32 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-10-31 23:53:32 +0000
commit6deeb3513c507d462ebf5f318d71ca9962b4a820 (patch)
tree32f4d932e239b3f1aee6e803d8abb90d6228d4a0 /target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch
parent553ed34def67224762c7b45f2f4ad986e5a59d64 (diff)
downloadupstream-6deeb3513c507d462ebf5f318d71ca9962b4a820.tar.gz
upstream-6deeb3513c507d462ebf5f318d71ca9962b4a820.tar.bz2
upstream-6deeb3513c507d462ebf5f318d71ca9962b4a820.zip
kernel: add missing patch for AR8216_PHY_LEDS
The patch adding AR8216_PHY_LEDS was not ported to more recent kernel versions. Thank you swalker for spotting this. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43139
Diffstat (limited to 'target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch')
-rw-r--r--target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch b/target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch
new file mode 100644
index 0000000000..c753967572
--- /dev/null
+++ b/target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch
@@ -0,0 +1,13 @@
+--- a/drivers/net/phy/Kconfig
++++ b/drivers/net/phy/Kconfig
+@@ -152,6 +152,10 @@ config AR8216_PHY
+ select ETHERNET_PACKET_MANGLE
+ select SWCONFIG
+
++config AR8216_PHY_LEDS
++ bool "Atheros AR8216 switch LED support"
++ depends on (AR8216_PHY && LEDS_CLASS)
++
+ config RTL8306_PHY
+ tristate "Driver for Realtek RTL8306S switches"
+ select SWCONFIG