mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
c60dd7bef9
The patches in the ath79 target have not been sorted for a long time and they are very chaotic now. This patch sorts them again according to the OpenWrt naming rules[1], so that we can better manage them. [1] https://openwrt.org/docs/guide-developer/toolchain/use-patches-with-buildsystem#naming_patches Signed-off-by: Shiji Yang <yangshiji66@qq.com>
27 lines
906 B
Diff
27 lines
906 B
Diff
From: Luiz Angelo Daros de Luca <luizluca@gmail.com>
|
|
Subject: [PATCH] ath79: export ath79_pll_base
|
|
|
|
This symbol is declared as extern but nobody exported it.
|
|
Any module including arch/mips/include/asm/mach-ath79/ath79.h
|
|
will not build. Without this export, ag71xx.ko will not build
|
|
as a module and the build will fail like this:
|
|
|
|
ERROR: modpost: "ath79_pll_base" [drivers/net/ethernet/atheros/ag71xx/ag71xx.ko] undefined!
|
|
|
|
The ath79_pll_base symbol is accessed in the ath79_pll_wr() inline function.
|
|
|
|
---
|
|
arch/mips/ath79/common.c | 1 +
|
|
1 file changed, 1 insertions(+)
|
|
|
|
--- a/arch/mips/ath79/common.c
|
|
+++ b/arch/mips/ath79/common.c
|
|
@@ -34,6 +34,7 @@ unsigned int ath79_soc_rev;
|
|
EXPORT_SYMBOL_GPL(ath79_soc_rev);
|
|
|
|
void __iomem *ath79_pll_base;
|
|
+EXPORT_SYMBOL_GPL(ath79_pll_base);
|
|
void __iomem *ath79_reset_base;
|
|
EXPORT_SYMBOL_GPL(ath79_reset_base);
|
|
void __iomem *ath79_ddr_base;
|