提交 0e2b75af 编写于 作者: A Arnd Bergmann

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: NRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 31231092
......@@ -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
#include "../../generic.h"
#ifdef CONFIG_PXA3xx
extern unsigned pxa3xx_get_clk_frequency_khz(int);
#else
#define pxa3xx_get_clk_frequency_khz(x) (0)
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册