]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Mar 2017 11:24:55 +0000 (05:24 -0600)
commita7d4841dffbe703e870522f9d463c334edb3914a
treedda8ba5eb3f5ad4368e34b2d2508345d51878e0b
parent2dde7574fe44143e8a71b92c0760f33d3ca67240
MIPS: ralink: Cosmetic change to prom_init().

BugLink: http://bugs.launchpad.net/bugs/1674288
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/mips/ralink/prom.c