summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/wsp/psr2.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2013-11-18 14:50:18 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-11-21 10:33:42 +1100
commitdc7a9bd3d0583bdc6ac291b4e1bf540dea398ea2 (patch)
tree4c369513a043e264d466f6875bc88dfbdad76f64 /arch/powerpc/platforms/wsp/psr2.c
parent5a049f14902982c26538250bdc8d54156d357252 (diff)
powerpc: booke: Fix build failures
arch/powerpc/platforms/wsp/wsp.c: In function ‘wsp_probe_devices’: arch/powerpc/platforms/wsp/wsp.c:76:3: error: implicit declaration of function ‘of_address_to_resource’ [-Werror=implicit-function-declaration] Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/wsp/psr2.c')
-rw-r--r--arch/powerpc/platforms/wsp/psr2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/wsp/psr2.c b/arch/powerpc/platforms/wsp/psr2.c
index 508ec8282b96..a87b414c766a 100644
--- a/arch/powerpc/platforms/wsp/psr2.c
+++ b/arch/powerpc/platforms/wsp/psr2.c
@@ -15,6 +15,7 @@
#include <linux/of.h>
#include <linux/smp.h>
#include <linux/time.h>
+#include <linux/of_fdt.h>
#include <asm/machdep.h>
#include <asm/udbg.h>