layerscape: add ls2088ardb device support
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 4234-fsl-ifc-fix-compilation-error-when-COMPAT-not-enable.patch
1 From 6183d512e7539033ccfd177d5f5819302d1fda99 Mon Sep 17 00:00:00 2001
2 From: Lijun Pan <Lijun.Pan@freescale.com>
3 Date: Wed, 23 Sep 2015 17:06:01 -0500
4 Subject: [PATCH 234/238] fsl-ifc: fix compilation error when COMPAT not
5 enabled
6
7 When CONFIG_COMPAT is not enabled for cases when 64K pages
8 are enabled, there are a series of include dependencies that
9 result in some definitions in sched.h that get missed (e.g.
10 TASK_NORMAL). Explictly include sched.h to resolve this.
11 (This seems to be what other drivers do as well)
12
13 Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com>
14 [Stuart: updated subject and commit message]
15 Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
16 ---
17 drivers/memory/fsl_ifc.c | 1 +
18 1 file changed, 1 insertion(+)
19
20 diff --git a/drivers/memory/fsl_ifc.c b/drivers/memory/fsl_ifc.c
21 index 03584dc..32c7752 100644
22 --- a/drivers/memory/fsl_ifc.c
23 +++ b/drivers/memory/fsl_ifc.c
24 @@ -35,6 +35,7 @@
25 #include <linux/irqdomain.h>
26 #include <linux/of_address.h>
27 #include <linux/of_irq.h>
28 +#include <linux/sched.h>
29
30 struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev;
31 EXPORT_SYMBOL(fsl_ifc_ctrl_dev);
32 --
33 1.7.9.5
34