kernel: bump 4.19 to 4.19.50
[openwrt/openwrt.git] / target / linux / ath79 / patches-4.19 / 0034-MIPS-ath79-ath9k-exports.patch
1 --- a/arch/mips/ath79/common.c
2 +++ b/arch/mips/ath79/common.c
3 @@ -34,11 +34,13 @@ EXPORT_SYMBOL_GPL(ath79_ddr_freq);
4
5 enum ath79_soc_type ath79_soc;
6 unsigned int ath79_soc_rev;
7 +EXPORT_SYMBOL_GPL(ath79_soc_rev);
8
9 void __iomem *ath79_pll_base;
10 void __iomem *ath79_reset_base;
11 EXPORT_SYMBOL_GPL(ath79_reset_base);
12 -static void __iomem *ath79_ddr_base;
13 +void __iomem *ath79_ddr_base;
14 +EXPORT_SYMBOL_GPL(ath79_ddr_base);
15 static void __iomem *ath79_ddr_wb_flush_base;
16 static void __iomem *ath79_ddr_pci_win_base;
17
18 --- a/arch/mips/include/asm/mach-ath79/ath79.h
19 +++ b/arch/mips/include/asm/mach-ath79/ath79.h
20 @@ -152,6 +152,7 @@ void ath79_ddr_wb_flush(unsigned int reg
21 void ath79_ddr_set_pci_windows(void);
22
23 extern void __iomem *ath79_pll_base;
24 +extern void __iomem *ath79_ddr_base;
25 extern void __iomem *ath79_reset_base;
26
27 static inline void ath79_pll_wr(unsigned reg, u32 val)