aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.4/0068-fix-ralink-prom.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-03-07 16:33:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-03-07 16:33:34 +0000
commitd041e8b44b042d373b0b474ee69caed840f9a541 (patch)
tree4255b83b60fd526a74b68b5b55cc0da54d3f7ab6 /target/linux/ramips/patches-4.4/0068-fix-ralink-prom.c
parente559de239715f629edc90b9a0afa57cb918b56ca (diff)
downloadupstream-d041e8b44b042d373b0b474ee69caed840f9a541.tar.gz
upstream-d041e8b44b042d373b0b474ee69caed840f9a541.tar.bz2
upstream-d041e8b44b042d373b0b474ee69caed840f9a541.zip
ramips: add linux 4.4 support, update mt7621 subtarget to 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48951
Diffstat (limited to 'target/linux/ramips/patches-4.4/0068-fix-ralink-prom.c')
-rw-r--r--target/linux/ramips/patches-4.4/0068-fix-ralink-prom.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-4.4/0068-fix-ralink-prom.c b/target/linux/ramips/patches-4.4/0068-fix-ralink-prom.c
new file mode 100644
index 0000000000..728ce6f852
--- /dev/null
+++ b/target/linux/ramips/patches-4.4/0068-fix-ralink-prom.c
@@ -0,0 +1,30 @@
+--- a/arch/mips/ralink/prom.c
++++ b/arch/mips/ralink/prom.c
+@@ -30,8 +30,10 @@ const char *get_system_type(void)
+ return soc_info.sys_type;
+ }
+
+-static __init void prom_init_cmdline(int argc, char **argv)
++static __init void prom_init_cmdline(void)
+ {
++ int argc;
++ char **argv;
+ int i;
+
+ pr_debug("prom: fw_arg0=%08x fw_arg1=%08x fw_arg2=%08x fw_arg3=%08x\n",
+@@ -60,14 +62,11 @@ static __init void prom_init_cmdline(int
+
+ void __init prom_init(void)
+ {
+- int argc;
+- char **argv;
+-
+ prom_soc_init(&soc_info);
+
+ pr_info("SoC Type: %s\n", get_system_type());
+
+- prom_init_cmdline(argc, argv);
++ prom_init_cmdline();
+ }
+
+ void __init prom_free_prom_memory(void)