aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel/setup.c')
-rw-r--r--arch/xtensa/kernel/setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c
index 9757bb74e532..06370ccea9e9 100644
--- a/arch/xtensa/kernel/setup.c
+++ b/arch/xtensa/kernel/setup.c
@@ -74,7 +74,6 @@ extern int initrd_below_start_ok;
74#endif 74#endif
75 75
76#ifdef CONFIG_OF 76#ifdef CONFIG_OF
77extern u32 __dtb_start[];
78void *dtb_start = __dtb_start; 77void *dtb_start = __dtb_start;
79#endif 78#endif
80 79
@@ -199,7 +198,7 @@ static int __init xtensa_dt_io_area(unsigned long node, const char *uname,
199 int depth, void *data) 198 int depth, void *data)
200{ 199{
201 const __be32 *ranges; 200 const __be32 *ranges;
202 unsigned long len; 201 int len;
203 202
204 if (depth > 1) 203 if (depth > 1)
205 return 0; 204 return 0;