summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.18/0068-non-pci-mt7620.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-08-17 06:18:30 +0000
committerJohn Crispin <john@openwrt.org>2015-08-17 06:18:30 +0000
commitaa4c6e27b42b4c4be07462c7e951a694fe38f500 (patch)
treeb463a0a8cb4d81b35986046050a3b068d2f31054 /target/linux/ramips/patches-3.18/0068-non-pci-mt7620.patch
parentb0b59a8e75242f1b9715dabf834df97d48d42cbc (diff)
downloadmaster-31e0f0ae-aa4c6e27b42b4c4be07462c7e951a694fe38f500.tar.gz
master-31e0f0ae-aa4c6e27b42b4c4be07462c7e951a694fe38f500.tar.bz2
master-31e0f0ae-aa4c6e27b42b4c4be07462c7e951a694fe38f500.zip
ramips: reorder patches
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46659
Diffstat (limited to 'target/linux/ramips/patches-3.18/0068-non-pci-mt7620.patch')
-rw-r--r--target/linux/ramips/patches-3.18/0068-non-pci-mt7620.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.18/0068-non-pci-mt7620.patch b/target/linux/ramips/patches-3.18/0068-non-pci-mt7620.patch
new file mode 100644
index 0000000000..ce56ae2002
--- /dev/null
+++ b/target/linux/ramips/patches-3.18/0068-non-pci-mt7620.patch
@@ -0,0 +1,12 @@
+--- a/arch/mips/ralink/mt7620.c
++++ b/arch/mips/ralink/mt7620.c
+@@ -513,9 +513,6 @@ void prom_soc_init(struct ralink_soc_inf
+ ralink_soc = MT762X_SOC_MT7620N;
+ name = "MT7620N";
+ soc_info->compatible = "ralink,mt7620n-soc";
+-#ifdef CONFIG_PCI
+- panic("mt7620n is only supported for non pci kernels");
+-#endif
+ }
+ } else if (n0 == MT7620_CHIP_NAME0 && n1 == MT7628_CHIP_NAME1) {
+ ralink_soc = MT762X_SOC_MT7628AN;