summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/wsp/scom_wsp.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/scom_wsp.c
parent5a049f14902982c26538250bdc8d54156d357252 (diff)
downloadlinux-dc7a9bd3d0583bdc6ac291b4e1bf540dea398ea2.tar.bz2
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/scom_wsp.c')
-rw-r--r--arch/powerpc/platforms/wsp/scom_wsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/wsp/scom_wsp.c b/arch/powerpc/platforms/wsp/scom_wsp.c
index 8928507affea..6538b4de34fc 100644
--- a/arch/powerpc/platforms/wsp/scom_wsp.c
+++ b/arch/powerpc/platforms/wsp/scom_wsp.c
@@ -14,6 +14,7 @@
#include <linux/of.h>
#include <linux/spinlock.h>
#include <linux/types.h>
+#include <linux/of_address.h>
#include <asm/cputhreads.h>
#include <asm/reg_a2.h>