d25f909f89ab635eb133b4a3b60f55cdc881a88c
[openwrt.git] / target / linux / ramips / patches-4.3 / 0016-arch-mips-ralink-remove-non-PCI-check.patch
1 From 3c146f6123a73cb6c7d21269b5ada8ccb272a988 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Mon, 7 Dec 2015 17:18:41 +0100
4 Subject: [PATCH 16/53] arch: mips: ralink: remove non-PCI check
5
6 Signed-off-by: John Crispin <blogic@openwrt.org>
7 ---
8  arch/mips/ralink/mt7620.c |    3 ---
9  1 file changed, 3 deletions(-)
10
11 --- a/arch/mips/ralink/mt7620.c
12 +++ b/arch/mips/ralink/mt7620.c
13 @@ -526,9 +526,6 @@ void prom_soc_init(struct ralink_soc_inf
14                         mt762x_soc = MT762X_SOC_MT7620N;
15                         name = "MT7620N";
16                         soc_info->compatible = "ralink,mt7620n-soc";
17 -#ifdef CONFIG_PCI
18 -                       panic("mt7620n is only supported for non pci kernels");
19 -#endif
20                 }
21         } else if (n0 == MT7620_CHIP_NAME0 && n1 == MT7628_CHIP_NAME1) {
22                 mt762x_soc = MT762X_SOC_MT7628AN;