]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: ralink: Cosmetic change to prom_init().
authorJohn Crispin <john@phrozen.org>
Tue, 20 Dec 2016 18:12:46 +0000 (19:12 +0100)
committerJiri Slaby <jslaby@suse.cz>
Tue, 28 Mar 2017 13:49:10 +0000 (15:49 +0200)
commit8c585d84626e76930725689a5e198c4d19220c4e
tree7038589ca9836174f17ec2d8bb2d23438cd5730a
parent94f8c5b094186a9cd890416b880fe53adba2c452
MIPS: ralink: Cosmetic change to prom_init().

commit 9c48568b3692f1a56cbf1935e4eea835e6b185b1 upstream.

Over the years the code has been changed various times leading to
argc/argv being defined in a different function to where we actually
use the variables. Clean this up by moving them to prom_init_cmdline().

Signed-off-by: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14902/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/mips/ralink/prom.c