kernel: add missing patch for AR8216_PHY_LEDS
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.18 / 732-phy-ar8216-led-support.patch
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 (file)
index 0000000..c753967
--- /dev/null
@@ -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