Commit 7746c99f authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Michal Simek

microblaze: Remove _fdt_start casts

_fdt_start is an array, i.e. a pointer.
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Cc: Michal Simek <monstr@monstr.eu>
Cc: microblaze-uclinux@itee.uq.edu.au
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 8fad84c1
...@@ -136,7 +136,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram, ...@@ -136,7 +136,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
lockdep_init(); lockdep_init();
/* initialize device tree for usage in early_printk */ /* initialize device tree for usage in early_printk */
early_init_devtree((void *)_fdt_start); early_init_devtree(_fdt_start);
#ifdef CONFIG_EARLY_PRINTK #ifdef CONFIG_EARLY_PRINTK
setup_early_printk(NULL); setup_early_printk(NULL);
...@@ -152,8 +152,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram, ...@@ -152,8 +152,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
if (fdt) if (fdt)
pr_info("FDT at 0x%08x\n", fdt); pr_info("FDT at 0x%08x\n", fdt);
else else
pr_info("Compiled-in FDT at 0x%08x\n", pr_info("Compiled-in FDT at %p\n", _fdt_start);
(unsigned int)_fdt_start);
#ifdef CONFIG_MTD_UCLINUX #ifdef CONFIG_MTD_UCLINUX
pr_info("Found romfs @ 0x%08x (0x%08x)\n", pr_info("Found romfs @ 0x%08x (0x%08x)\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment