ralink: merge the mt7620a/n subtargets
[openwrt.git] / target / linux / ramips / patches-3.14 / 999-non-pci-mt7620.patch
1 Index: linux-3.14.18/arch/mips/ralink/mt7620.c
2 ===================================================================
3 --- linux-3.14.18.orig/arch/mips/ralink/mt7620.c        2014-11-18 20:57:21.506801623 +0100
4 +++ linux-3.14.18/arch/mips/ralink/mt7620.c     2014-11-18 22:12:05.133116492 +0100
5 @@ -511,9 +511,6 @@
6                         ralink_soc = MT762X_SOC_MT7620N;
7                         name = "MT7620N";
8                         soc_info->compatible = "ralink,mt7620n-soc";
9 -#ifdef CONFIG_PCI
10 -                       panic("mt7620n is only supported for non pci kernels");
11 -#endif
12                 }
13         } else if (n0 == MT7620_CHIP_NAME0 && n1 == MT7628_CHIP_NAME1) {
14                 ralink_soc = MT762X_SOC_MT7628AN;