dt/flattree: explicitly pass command line pointer to early_init_dt_scan_chosen
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 29 Apr 2011 06:18:16 +0000 (00:18 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 11 May 2011 12:53:18 +0000 (14:53 +0200)
commit85f60ae4ee817174b0f78928bc7066f28c3551ab
tree826dac347531b88a8c7de2a1168626393eaceea1
parent693d92a1bbc9e42681c42ed190bd42b636ca876f
dt/flattree: explicitly pass command line pointer to early_init_dt_scan_chosen

This patch drops the reference to a global 'cmd_line' variable from
early_init_dt_scan_chosen, and instead passes the pointer to the command
line string via the *data argument.  Each architecture does something
slightly different with the initial command line, so it makes sense for
the architecture to be able to specify the variable name.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/microblaze/kernel/prom.c
arch/mips/include/asm/prom.h
arch/mips/kernel/prom.c
arch/powerpc/kernel/prom.c
drivers/of/fdt.c