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>
Showing
- arch/microblaze/kernel/prom.c 1 addition, 1 deletionarch/microblaze/kernel/prom.c
- arch/mips/include/asm/prom.h 0 additions, 3 deletionsarch/mips/include/asm/prom.h
- arch/mips/kernel/prom.c 2 additions, 1 deletionarch/mips/kernel/prom.c
- arch/powerpc/kernel/prom.c 1 addition, 1 deletionarch/powerpc/kernel/prom.c
- drivers/of/fdt.c 4 additions, 4 deletionsdrivers/of/fdt.c
Loading
Please register or sign in to comment