summaryrefslogtreecommitdiffstats
path: root/drivers/memory/fsl_ifc.c
diff options
context:
space:
mode:
authorRaghav Dogra <raghav.dogra@nxp.com>2016-07-01 18:02:30 +0200
committerBrian Norris <computersforpeace@gmail.com>2016-07-14 02:31:10 +0200
commit8ea126bc1ac28be93eb5ae3c82741a3dc8e66ae2 (patch)
treeeafd9901adbf33b36a6e08f1012e7f629371d1b4 /drivers/memory/fsl_ifc.c
parentmtd: spi-nor: fix wrong "fully unlocked" test (diff)
downloadlinux-8ea126bc1ac28be93eb5ae3c82741a3dc8e66ae2.tar.xz
linux-8ea126bc1ac28be93eb5ae3c82741a3dc8e66ae2.zip
memory: Update dependency of IFC for Layerscape
This patch enables IFC NAND support on ARM layerscape platform. It fixes the dependency to enable NAND. The include files are being modified to ensure complilation for both PowerPC and ARM architectures. Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com> Acked-by: Scott Wood <oss@buserror.net> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/memory/fsl_ifc.c')
-rw-r--r--drivers/memory/fsl_ifc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/memory/fsl_ifc.c b/drivers/memory/fsl_ifc.c
index 904b4af5f142..1b182b117f9c 100644
--- a/drivers/memory/fsl_ifc.c
+++ b/drivers/memory/fsl_ifc.c
@@ -31,7 +31,9 @@
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/fsl_ifc.h>
-#include <asm/prom.h>
+#include <linux/irqdomain.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev;
EXPORT_SYMBOL(fsl_ifc_ctrl_dev);