[openwrt/openwrt] kernel: ltq-adsl-mei: Fix compilation with Linux 5.15
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 22 10:50:55 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a075ddb8ca8febefc6f61befb508cb2c42e08bbb
commit a075ddb8ca8febefc6f61befb508cb2c42e08bbb
Author: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
AuthorDate: Sat Mar 26 11:19:04 2022 +0100
kernel: ltq-adsl-mei: Fix compilation with Linux 5.15
struct of_device_id is not implicitly included anymore. Include
<linux/mod_devicetable.h> to fix compilation on Linux 5.15.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
---
package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c b/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c
index df04de73e0..2339d919b6 100644
--- a/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c
+++ b/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c
@@ -28,6 +28,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/mod_devicetable.h>
#include <linux/version.h>
#include <generated/utsrelease.h>
#include <linux/types.h>
More information about the lede-commits
mailing list