projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6363569
)
ltq-vdsl-vr11-mei: fix compilation error with kernel 6.1
author
Andre Heider
<a.heider@gmail.com>
Tue, 22 Aug 2023 12:50:24 +0000
(14:50 +0200)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 27 Aug 2023 17:26:53 +0000
(19:26 +0200)
Define the old PDE_DATA marco to the new pde_data function.
Signed-off-by: Andre Heider <a.heider@gmail.com>
package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/100-compat.patch
patch
|
blob
|
history
package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/122-cp_linux-fix-compilation-warning.patch
patch
|
blob
|
history
diff --git
a/package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/100-compat.patch
b/package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/100-compat.patch
index a2e42ccb03fa22545b8bc88a9c97f9eefa366718..74e88894d8fa3c2a6c16c74ec88735f4ce328948 100644
(file)
--- a/
package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/100-compat.patch
+++ b/
package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/100-compat.patch
@@
-8,3
+8,16
@@
MODULE_LICENSE ("GPL");
#endif /* #ifdef MODULE*/
MODULE_LICENSE ("GPL");
#endif /* #ifdef MODULE*/
+--- a/src/drv_mei_cpe_linux.h
++++ b/src/drv_mei_cpe_linux.h
+@@ -110,6 +110,10 @@ typedef irqreturn_t (*usedIsrHandler_t)(
+ # endif
+ #endif
+
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0))
++#define PDE_DATA pde_data
++#endif
++
+ /**
+ Function typedef for the Linux request_threaded_irq()
+ */
diff --git
a/package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/122-cp_linux-fix-compilation-warning.patch
b/package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/122-cp_linux-fix-compilation-warning.patch
index 63a530b6c516cc354d0d868668a2178e8982750c..6f180a284ecaa2c1f92d3b05d6e8d928ccdf9b78 100644
(file)
--- a/
package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/122-cp_linux-fix-compilation-warning.patch
+++ b/
package/kernel/lantiq/ltq-vdsl-vr11-mei/patches/122-cp_linux-fix-compilation-warning.patch
@@
-1,6
+1,6
@@
---- a/src/drv_mei_cpe_linux.c
+--- a/src/drv_mei_cpe_linux.c
+++ b/src/drv_mei_cpe_linux.c
+++ b/src/drv_mei_cpe_linux.c
-@@ -1267,7 +1267,9 @@ static long MEI_Ioctl( struct file *filp
,
+@@ -1267,7 +1267,9 @@ static long MEI_Ioctl( struct file *filp
MEI_IOCTL_RETURN:
local_args.drv_ioctl.retCode = ret;
MEI_IOCTL_RETURN:
local_args.drv_ioctl.retCode = ret;