aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2022-03-26 11:19:04 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-22 19:44:46 +0200
commita075ddb8ca8febefc6f61befb508cb2c42e08bbb (patch)
treeb2113d0df7c8f41fe31c3a6e04e266e5f419bbb8 /package
parent2964353927304997735fd27a4144e0e533a29601 (diff)
downloadupstream-a075ddb8ca8febefc6f61befb508cb2c42e08bbb.tar.gz
upstream-a075ddb8ca8febefc6f61befb508cb2c42e08bbb.tar.bz2
upstream-a075ddb8ca8febefc6f61befb508cb2c42e08bbb.zip
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@googlemail.com>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c1
1 files changed, 1 insertions, 0 deletions
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>