ramips: add v4.9 support
[openwrt/openwrt.git] / target / linux / ramips / patches-4.9 / 0099-pci-mt7620.patch
1 --- a/arch/mips/pci/pci-mt7620.c
2 +++ b/arch/mips/pci/pci-mt7620.c
3 @@ -33,7 +33,6 @@
4 #define RALINK_GPIOMODE 0x60
5
6 #define PPLL_CFG1 0x9c
7 -#define PDRV_SW_SET BIT(23)
8
9 #define PPLL_DRV 0xa0
10 #define PDRV_SW_SET (1<<31)
11 @@ -121,7 +120,7 @@
12 else
13 break;
14 if (retry++ > WAITRETRY_MAX) {
15 - printk(KERN_WARN "PCIE-PHY retry failed.\n");
16 + pr_warn("PCIE-PHY retry failed.\n");
17 return -1;
18 }
19 }