MIPS: pci-mt7620: Enable PCIe on MT7688
authorDaniel Golle <daniel@makrotopia.org>
Sat, 3 Jun 2017 18:20:14 +0000 (20:20 +0200)
committerJames Hogan <jhogan@kernel.org>
Wed, 14 Mar 2018 15:14:05 +0000 (15:14 +0000)
Use PCIe support for MT7628AN also on MT7688.

Tested on WRTNODE2R.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Cc: John Crispin <john@phrozen.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-mediatek@lists.infradead.org
Patchwork: https://patchwork.linux-mips.org/patch/16223/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/pci/pci-mt7620.c

index 407f155f0bb6f5d5fa7e78f5aa611085843653d8..f6b77788124af28e5871b4c00c24576672e23084 100644 (file)
@@ -315,6 +315,7 @@ static int mt7620_pci_probe(struct platform_device *pdev)
                break;
 
        case MT762X_SOC_MT7628AN:
+       case MT762X_SOC_MT7688:
                if (mt7628_pci_hw_init(pdev))
                        return -1;
                break;