aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-12 14:42:18 -0500
committerMichal Simek <michal.simek@xilinx.com>2014-01-21 02:28:18 -0500
commit7746c99f031daf15eb66993ed3e556e123efd7a5 (patch)
treec6f85c8b01a04a837ac42d039c304c444f6d8e79 /arch/microblaze
parent8fad84c17d387fc457d30d8bf7c719e9b05eb960 (diff)
microblaze: Remove _fdt_start casts
_fdt_start is an array, i.e. a pointer. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Michal Simek <monstr@monstr.eu> Cc: microblaze-uclinux@itee.uq.edu.au Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/setup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
index 8de8ebc309f1..603e22fec6d5 100644
--- a/arch/microblaze/kernel/setup.c
+++ b/arch/microblaze/kernel/setup.c
@@ -136,7 +136,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
136 lockdep_init(); 136 lockdep_init();
137 137
138/* initialize device tree for usage in early_printk */ 138/* initialize device tree for usage in early_printk */
139 early_init_devtree((void *)_fdt_start); 139 early_init_devtree(_fdt_start);
140 140
141#ifdef CONFIG_EARLY_PRINTK 141#ifdef CONFIG_EARLY_PRINTK
142 setup_early_printk(NULL); 142 setup_early_printk(NULL);
@@ -152,8 +152,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
152 if (fdt) 152 if (fdt)
153 pr_info("FDT at 0x%08x\n", fdt); 153 pr_info("FDT at 0x%08x\n", fdt);
154 else 154 else
155 pr_info("Compiled-in FDT at 0x%08x\n", 155 pr_info("Compiled-in FDT at %p\n", _fdt_start);
156 (unsigned int)_fdt_start);
157 156
158#ifdef CONFIG_MTD_UCLINUX 157#ifdef CONFIG_MTD_UCLINUX
159 pr_info("Found romfs @ 0x%08x (0x%08x)\n", 158 pr_info("Found romfs @ 0x%08x (0x%08x)\n",