summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-12 20:42:18 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-01-21 08:28:18 +0100
commit7746c99f031daf15eb66993ed3e556e123efd7a5 (patch)
treec6f85c8b01a04a837ac42d039c304c444f6d8e79 /arch/microblaze
parent8fad84c17d387fc457d30d8bf7c719e9b05eb960 (diff)
downloadop-kernel-dev-7746c99f031daf15eb66993ed3e556e123efd7a5.zip
op-kernel-dev-7746c99f031daf15eb66993ed3e556e123efd7a5.tar.gz
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 8de8ebc..603e22f 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,
lockdep_init();
/* initialize device tree for usage in early_printk */
- early_init_devtree((void *)_fdt_start);
+ early_init_devtree(_fdt_start);
#ifdef CONFIG_EARLY_PRINTK
setup_early_printk(NULL);
@@ -152,8 +152,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
if (fdt)
pr_info("FDT at 0x%08x\n", fdt);
else
- pr_info("Compiled-in FDT at 0x%08x\n",
- (unsigned int)_fdt_start);
+ pr_info("Compiled-in FDT at %p\n", _fdt_start);
#ifdef CONFIG_MTD_UCLINUX
pr_info("Found romfs @ 0x%08x (0x%08x)\n",
OpenPOWER on IntegriCloud