summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-09-01 22:32:39 +0300
committerArnd Bergmann <arnd@arndb.de>2022-04-19 17:25:50 +0300
commit0e2b75af658b5dccce27e8ec265e96b84fdf7036 (patch)
tree99dc05daa68aebf7f020b34dca77d105d7ed6646 /arch/arm/mach-pxa/include
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-0e2b75af658b5dccce27e8ec265e96b84fdf7036.tar.xz
ARM: pxa: split mach/generic.h
Only one declaration from this header is actually used in drivers, so move that one into the global location and leave everything else private. Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r--arch/arm/mach-pxa/include/mach/generic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/include/mach/generic.h b/arch/arm/mach-pxa/include/mach/generic.h
index 665542e0c9e2..613f6a299d0d 100644
--- a/arch/arm/mach-pxa/include/mach/generic.h
+++ b/arch/arm/mach-pxa/include/mach/generic.h
@@ -1 +1,5 @@
-#include "../../generic.h"
+#ifdef CONFIG_PXA3xx
+extern unsigned pxa3xx_get_clk_frequency_khz(int);
+#else
+#define pxa3xx_get_clk_frequency_khz(x) (0)
+#endif