aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-5.4/300-pcengines_apu1_led.patch
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-10-01 11:13:07 -1000
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-10-02 18:13:46 +0200
commiteea90d2dffbcf5d195e3946be2482f3cfa7c0a8a (patch)
treec0d2b147e7edb4f2864f6467a36cbff3ca4b25ac /target/linux/x86/patches-5.4/300-pcengines_apu1_led.patch
parent50f456b46cbae27ed13badfe7b2976cd01b67a57 (diff)
downloadupstream-eea90d2dffbcf5d195e3946be2482f3cfa7c0a8a.tar.gz
upstream-eea90d2dffbcf5d195e3946be2482f3cfa7c0a8a.tar.bz2
upstream-eea90d2dffbcf5d195e3946be2482f3cfa7c0a8a.zip
x86: remove obsolete Kernel 5.4
With the upgrade to Kernel 5.10 per default the old version is no longer required to be in tree. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'target/linux/x86/patches-5.4/300-pcengines_apu1_led.patch')
-rw-r--r--target/linux/x86/patches-5.4/300-pcengines_apu1_led.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/x86/patches-5.4/300-pcengines_apu1_led.patch b/target/linux/x86/patches-5.4/300-pcengines_apu1_led.patch
deleted file mode 100644
index 9d1e4ab9c2..0000000000
--- a/target/linux/x86/patches-5.4/300-pcengines_apu1_led.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: Andreas Eberlein <foodeas@aeberlein.de>
-Subject: x86: add LED support for PC Engines APU1 with mainline bios
-
-This adds support for the LEDs on PC Engines APU1 with the mainline bios.
-
-Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de>
----
---- a/drivers/leds/leds-apu.c
-+++ b/drivers/leds/leds-apu.c
-@@ -83,6 +83,7 @@ static const struct apu_led_profile apu1
- };
-
- static const struct dmi_system_id apu_led_dmi_table[] __initconst = {
-+ /* PC Engines APU with "Legacy" bios < 4.0.8 */
- {
- .ident = "apu",
- .matches = {
-@@ -90,6 +91,14 @@ static const struct dmi_system_id apu_le
- DMI_MATCH(DMI_PRODUCT_NAME, "APU")
- }
- },
-+ /* PC Engines APU with "Mainline" bios >= 4.0.8 */
-+ {
-+ .ident = "apu",
-+ .matches = {
-+ DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"),
-+ DMI_MATCH(DMI_PRODUCT_NAME, "apu1")
-+ }
-+ },
- {}
- };
- MODULE_DEVICE_TABLE(dmi, apu_led_dmi_table);
-@@ -173,7 +182,7 @@ static int __init apu_led_init(void)
- int err;
-
- if (!(dmi_match(DMI_SYS_VENDOR, "PC Engines") &&
-- dmi_match(DMI_PRODUCT_NAME, "APU"))) {
-+ (dmi_match(DMI_PRODUCT_NAME, "APU") || dmi_match(DMI_PRODUCT_NAME, "apu1")))) {
- pr_err("No PC Engines APUv1 board detected. For APUv2,3 support, enable CONFIG_PCENGINES_APU2\n");
- return -ENODEV;
- }