diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-06-28 21:52:41 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-07-07 17:37:26 +0200 |
commit | 8ef6240fa61e65eb7b4386e3ea683b04e1dbf00f (patch) | |
tree | 7170a33c698c0eb1235e370d71b36ade2a4b0b46 /target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c | |
parent | 7c640c2960dbc0a14784a50bc88c92a4b29c0446 (diff) | |
download | upstream-8ef6240fa61e65eb7b4386e3ea683b04e1dbf00f.tar.gz upstream-8ef6240fa61e65eb7b4386e3ea683b04e1dbf00f.tar.bz2 upstream-8ef6240fa61e65eb7b4386e3ea683b04e1dbf00f.zip |
kernel: Add missing includes mtdsplit_*.c
This fixes the following compile problem with kernel 4.9 on lantiq:
drivers/mtd/mtdsplit/mtdsplit_uimage.c:244:34: error: array type has incomplete element type 'struct of_device_id'
static const struct of_device_id mtdsplit_uimage_of_match_table[] = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/mtdsplit/mtdsplit_uimage.c:245:4: error: field name not in record or union initializer
{ .compatible = "denx,uimage" },
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c')
-rw-r--r-- | target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c index a30297a964..55004a6d36 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c +++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c @@ -15,6 +15,7 @@ #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/byteorder/generic.h> +#include <linux/of.h> #include "mtdsplit.h" |