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>
This commit is contained in:
parent
3123109284
commit
0e2b75af65
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/reboot.h>
|
||||
#include <mach/generic.h>
|
||||
|
||||
struct irq_data;
|
||||
|
||||
@ -71,8 +72,3 @@ extern unsigned pxa25x_get_clk_frequency_khz(int);
|
||||
#define pxa27x_get_clk_frequency_khz(x) (0)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PXA3xx
|
||||
extern unsigned pxa3xx_get_clk_frequency_khz(int);
|
||||
#else
|
||||
#define pxa3xx_get_clk_frequency_khz(x) (0)
|
||||
#endif
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user