ar71xx: unify LED names on Buffalo boards
[openwrt.git] / target / linux / rb532 / patches-2.6.35 / 001-cmdline_hack.patch
1 --- a/arch/mips/rb532/prom.c
2 +++ b/arch/mips/rb532/prom.c
3 @@ -67,6 +67,7 @@ static inline unsigned long tag2ul(char
4 return simple_strtoul(num, 0, 10);
5 }
6
7 +extern char __image_cmdline[];
8 void __init prom_setup_cmdline(void)
9 {
10 static char cmd_line[COMMAND_LINE_SIZE] __initdata;
11 @@ -109,6 +110,9 @@ void __init prom_setup_cmdline(void)
12 }
13 *(cp++) = ' ';
14
15 + strcpy(cp,(__image_cmdline));
16 + cp += strlen(__image_cmdline);
17 +
18 i = strlen(arcs_cmdline);
19 if (i > 0) {
20 *(cp++) = ' ';
This page took 0.045135 seconds and 5 git commands to generate.