From: Kumar Gala <galak@kernel.crashing.org>
Date: Fri, 17 Aug 2007 13:23:06 +0000 (-0500)
Subject: [POWERPC] Fix 8xx compile failure
X-Git-Tag: firefly_0821_release~26746^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0af666fa6cf4bc639fb6170600b5fb0d8b6504b9;p=firefly-linux-kernel-4.4.55.git

[POWERPC] Fix 8xx compile failure

  CC      arch/powerpc/sysdev/commproc.o
arch/powerpc/sysdev/fsl_soc.c: In function fsl_pcmcia_of_init:
arch/powerpc/sysdev/fsl_soc.c:1109: error: implicit declaration of function of_platform_device_create

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---

diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index 727453d3e8b9..1cf29c9d4408 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -22,6 +22,7 @@
 #include <linux/module.h>
 #include <linux/device.h>
 #include <linux/platform_device.h>
+#include <linux/of_platform.h>
 #include <linux/phy.h>
 #include <linux/fsl_devices.h>
 #include <linux/fs_enet_pd.h>