ramips: switch to linux 4.14
[openwrt/openwrt.git] / target / linux / ramips / patches-4.9 / 0009-PCI-MIPS-enable-PCIe-on-MT7688.patch
1 From 7768798964eb0e4f95eaecffb93b5d0ca28a38af Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Sat, 3 Jun 2017 20:00:03 +0200
4 Subject: [PATCH] MIPS: pci-mt7620: enabled PCIe on MT7688
5 To: linux-mips@linux-mips.org,
6 John Crispin <john@phrozen.org>
7 Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
8 Ralf Baechle <ralf@linux-mips.org>,
9 linux-mediatek@lists.infradead.org
10
11 Use PCIe support for MT7628AN also on MT7688.
12 Tested on WRTNODE2R.
13
14 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
15 ---
16 arch/mips/pci/pci-mt7620.c | 1 +
17 1 file changed, 1 insertion(+)
18
19 --- a/arch/mips/pci/pci-mt7620.c
20 +++ b/arch/mips/pci/pci-mt7620.c
21 @@ -316,6 +316,7 @@ static int mt7620_pci_probe(struct platf
22 break;
23
24 case MT762X_SOC_MT7628AN:
25 + case MT762X_SOC_MT7688:
26 if (mt7628_pci_hw_init(pdev))
27 return -1;
28 break;