mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-10 16:49:35 +00:00
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>
This commit is contained in:
parent
7c640c2960
commit
8ef6240fa6
@ -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"
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/byteorder/generic.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include "mtdsplit.h"
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include <asm/unaligned.h>
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include "mtdsplit.h"
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/byteorder/generic.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include "mtdsplit.h"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/byteorder/generic.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include "mtdsplit.h"
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/version.h>
|
||||
#include <linux/byteorder/generic.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include "mtdsplit.h"
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/byteorder/generic.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include "mtdsplit.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user