summaryrefslogtreecommitdiffstats
path: root/arch/c6x/kernel/devicetree.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-25 18:29:51 -0500
committerRob Herring <rob.herring@calxeda.com>2013-10-09 11:37:27 -0500
commit312717f15ac7095c3ea98d487276781535ca7c0b (patch)
tree091a03eade792294600970ba1c556ce79e059ba3 /arch/c6x/kernel/devicetree.c
parent15c03dd4859ab16f9212238f29dd315654aa94f6 (diff)
downloadlinux-312717f15ac7095c3ea98d487276781535ca7c0b.tar.bz2
c6x: use boot_command_line instead of private c6x_command_line
Save some pointless copying of the kernel command line and just use boot_command_line instead. Also remove default_command_line as it is not referenced anywhere, and the DT code already handles the default command line. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Tested-by: Mark Salter <msalter@redhat.com> Acked-by: Mark Salter <msalter@redhat.com> Cc: Aurelien Jacquiot <a-jacquiot@ti.com> Cc: linux-c6x-dev@linux-c6x.org Reviewed-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'arch/c6x/kernel/devicetree.c')
-rw-r--r--arch/c6x/kernel/devicetree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/c6x/kernel/devicetree.c b/arch/c6x/kernel/devicetree.c
index 9e15ab9199b2..5e8c838c1dde 100644
--- a/arch/c6x/kernel/devicetree.c
+++ b/arch/c6x/kernel/devicetree.c
@@ -24,7 +24,7 @@ void __init early_init_devtree(void *params)
* device-tree, including the platform type, initrd location and
* size and more ...
*/
- of_scan_flat_dt(early_init_dt_scan_chosen, c6x_command_line);
+ of_scan_flat_dt(early_init_dt_scan_chosen, boot_command_line);
/* Scan memory nodes and rebuild MEMBLOCKs */
of_scan_flat_dt(early_init_dt_scan_root, NULL);