summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-11-24 11:37:56 +0100
committerGrant Likely <grant.likely@secretlab.ca>2009-12-10 23:23:15 +0100
commit83f7a06eb479e2aeb83536e77a2cb14cc2285e32 (patch)
tree3f81f85739eaa781ee17213e5d2be086fb419ff3 /arch/microblaze/kernel
parentof/flattree: Merge earlyinit_dt_scan_root() (diff)
downloadlinux-83f7a06eb479e2aeb83536e77a2cb14cc2285e32.tar.xz
linux-83f7a06eb479e2aeb83536e77a2cb14cc2285e32.zip
of/flattree: merge dt_mem_next_cell
Merge common code between PowerPC and Microblaze Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r--arch/microblaze/kernel/prom.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c
index 189179a9b554..e0f4c34ed0f2 100644
--- a/arch/microblaze/kernel/prom.c
+++ b/arch/microblaze/kernel/prom.c
@@ -155,14 +155,6 @@ static int __init early_init_dt_scan_chosen(unsigned long node,
return 1;
}
-static u64 __init dt_mem_next_cell(int s, cell_t **cellp)
-{
- cell_t *p = *cellp;
-
- *cellp = p + s;
- return of_read_number(p, s);
-}
-
static int __init early_init_dt_scan_memory(unsigned long node,
const char *uname, int depth, void *data)
{