0034-MIPS-ath79-ath9k-exports.patch 889 B

123456789101112131415161718192021222324252627
  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. enum ath79_soc_type ath79_soc;
  5. unsigned int ath79_soc_rev;
  6. +EXPORT_SYMBOL_GPL(ath79_soc_rev);
  7. void __iomem *ath79_pll_base;
  8. void __iomem *ath79_reset_base;
  9. EXPORT_SYMBOL_GPL(ath79_reset_base);
  10. -static void __iomem *ath79_ddr_base;
  11. +void __iomem *ath79_ddr_base;
  12. +EXPORT_SYMBOL_GPL(ath79_ddr_base);
  13. static void __iomem *ath79_ddr_wb_flush_base;
  14. static void __iomem *ath79_ddr_pci_win_base;
  15. --- a/arch/mips/include/asm/mach-ath79/ath79.h
  16. +++ b/arch/mips/include/asm/mach-ath79/ath79.h
  17. @@ -152,6 +152,7 @@ void ath79_ddr_wb_flush(unsigned int reg
  18. void ath79_ddr_set_pci_windows(void);
  19. extern void __iomem *ath79_pll_base;
  20. +extern void __iomem *ath79_ddr_base;
  21. extern void __iomem *ath79_reset_base;
  22. static inline void ath79_pll_wr(unsigned reg, u32 val)