summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal-lpc.c
diff options
context:
space:
mode:
authorRob Herring2013-09-26 14:40:04 +0200
committerRob Herring2013-10-10 03:04:11 +0200
commit26a2056eb21fff26caf99d19ad5448e9403db55d (patch)
treec1bd03e61fcf39f4a61f75437dad19de1cdbedb0 /arch/powerpc/platforms/powernv/opal-lpc.c
parentpowerpc: clean-up include ordering in prom.h (diff)
downloadkernel-qcow2-linux-26a2056eb21fff26caf99d19ad5448e9403db55d.tar.gz
kernel-qcow2-linux-26a2056eb21fff26caf99d19ad5448e9403db55d.tar.xz
kernel-qcow2-linux-26a2056eb21fff26caf99d19ad5448e9403db55d.zip
powerpc: add explicit OF includes
When removing prom.h include by of.h, several OF headers will no longer be implicitly included. Add explicit includes of of_*.h as needed. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Grant Likely <grant.likely@linaro.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Anatolij Gustschin <agust@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Olof Johansson <olof@lixom.net> Cc: linuxppc-dev@lists.ozlabs.org
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-lpc.c')
-rw-r--r--arch/powerpc/platforms/powernv/opal-lpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-lpc.c b/arch/powerpc/platforms/powernv/opal-lpc.c
index a7614bb14e17..e7e59e4f9892 100644
--- a/arch/powerpc/platforms/powernv/opal-lpc.c
+++ b/arch/powerpc/platforms/powernv/opal-lpc.c
@@ -17,6 +17,7 @@
#include <asm/firmware.h>
#include <asm/xics.h>
#include <asm/opal.h>
+#include <asm/prom.h>
static int opal_lpc_chip_id = -1;