aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-11-14 21:22:39 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-12-15 12:50:06 +0100
commitaa3b6a08c5616fdebd3b219f021a9674533a6519 (patch)
tree1704c0e19bf84fb8977390d4bcdad53cab943ea7 /target/linux/adm5120
parent42e62a8a10c8276ba09434f88dc08f0967ba7bb1 (diff)
downloadupstream-aa3b6a08c5616fdebd3b219f021a9674533a6519.tar.gz
upstream-aa3b6a08c5616fdebd3b219f021a9674533a6519.tar.bz2
upstream-aa3b6a08c5616fdebd3b219f021a9674533a6519.zip
kernel: Replace ledtrig-netdev with upstream backport
The ledtrig-netdev was added to upstream Linux kernel 4.16, replace our own version with the patch based on the upstream version. This will remove the ledtrig-netdev support from kernel 3.18, because I not want to spend time on backporting it to 3.18. This will make it easier to use the upstream version with kernel 4.19, by just not applying this patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/adm5120')
-rw-r--r--target/linux/adm5120/patches-3.18/009-adm5120_leds_switch_trigger.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/patches-3.18/009-adm5120_leds_switch_trigger.patch b/target/linux/adm5120/patches-3.18/009-adm5120_leds_switch_trigger.patch
index f6dbdfc87d..4e37616f81 100644
--- a/target/linux/adm5120/patches-3.18/009-adm5120_leds_switch_trigger.patch
+++ b/target/linux/adm5120/patches-3.18/009-adm5120_leds_switch_trigger.patch
@@ -15,8 +15,8 @@
endif # NEW_LEDS
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
-@@ -63,3 +63,4 @@ obj-$(CONFIG_LEDS_DAC124S085) += leds-d
+@@ -62,3 +62,4 @@ obj-$(CONFIG_LEDS_DAC124S085) += leds-d
+
# LED Triggers
obj-$(CONFIG_LEDS_TRIGGERS) += trigger/
- obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o
+obj-$(CONFIG_LEDS_TRIGGER_ADM5120_SWITCH) += ledtrig-adm5120-switch.o