aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2022-03-21 20:28:07 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-22 19:44:45 +0200
commit2964353927304997735fd27a4144e0e533a29601 (patch)
tree3e028b7c13caa53d9484fef43e508dee73b68dfc /package
parentf4ce7df4fc56372f353066f4c0836b2ae1b089fd (diff)
downloadupstream-2964353927304997735fd27a4144e0e533a29601.tar.gz
upstream-2964353927304997735fd27a4144e0e533a29601.tar.bz2
upstream-2964353927304997735fd27a4144e0e533a29601.zip
kernel: ltq-vmmc: Fix compilation with Linux 5.15
MODULE_SUPPORTED_DEVICE is gone after Linux 5.15. Drop it's usage on newer kernels to fix compilation with Linux 5.15. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch b/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch
index bf9f17ed05..dd6451b52d 100644
--- a/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch
+++ b/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch
@@ -9,6 +9,16 @@
/* ============================= */
/* Local Macros & Definitions */
/* ============================= */
+@@ -862,7 +864,9 @@ void vmmc_module_exit(void)
+ #ifdef MODULE
+ MODULE_DESCRIPTION("VMMC(VoiceMacroMipsCore) device driver - www.lantiq.com");
+ MODULE_AUTHOR("Lantiq Deutschland GmbH");
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,11,0))
+ MODULE_SUPPORTED_DEVICE("DANUBE, TWINPASS, INCA-IP2, AR9, VR9");
++#endif
+ MODULE_LICENSE("Dual BSD/GPL");
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17))
--- a/src/mps/drv_mps_vmmc_linux.c
+++ b/src/mps/drv_mps_vmmc_linux.c
@@ -80,11 +80,15 @@