diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-04-29 00:18:16 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-05-11 14:53:18 +0200 |
commit | 85f60ae4ee817174b0f78928bc7066f28c3551ab (patch) | |
tree | 826dac347531b88a8c7de2a1168626393eaceea1 /arch/mips/include/asm/prom.h | |
parent | 693d92a1bbc9e42681c42ed190bd42b636ca876f (diff) | |
download | blackbird-op-linux-85f60ae4ee817174b0f78928bc7066f28c3551ab.tar.gz blackbird-op-linux-85f60ae4ee817174b0f78928bc7066f28c3551ab.zip |
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>
Diffstat (limited to 'arch/mips/include/asm/prom.h')
-rw-r--r-- | arch/mips/include/asm/prom.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h index f29b862d9db3..857d9b7858ad 100644 --- a/arch/mips/include/asm/prom.h +++ b/arch/mips/include/asm/prom.h @@ -14,9 +14,6 @@ #ifdef CONFIG_OF #include <asm/bootinfo.h> -/* which is compatible with the flattened device tree (FDT) */ -#define cmd_line arcs_cmdline - extern int early_init_dt_scan_memory_arch(unsigned long node, const char *uname, int depth, void *data); |