diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-02 05:08:06 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-08 08:36:36 -0400 |
commit | 390e0cfd320b28d6964b92d83d59168a33c28866 (patch) | |
tree | 769a24ef3085e334922bbd8043768a1bcc69d10b /arch/arm/mach-tegra/board.h | |
parent | 21cc1b7ede3cf456cf1d51f8a906093261f7c111 (diff) |
ARM: tegra: use machine specific hook for late init
Cc: Colin Cross <ccross@android.com>
Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r-- | arch/arm/mach-tegra/board.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index 75d1543d77c0..65014968fc6c 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h | |||
@@ -32,5 +32,19 @@ void __init tegra_init_irq(void); | |||
32 | void __init tegra_dt_init_irq(void); | 32 | void __init tegra_dt_init_irq(void); |
33 | int __init tegra_pcie_init(bool init_port0, bool init_port1); | 33 | int __init tegra_pcie_init(bool init_port0, bool init_port1); |
34 | 34 | ||
35 | void tegra_init_late(void); | ||
36 | |||
37 | #ifdef CONFIG_DEBUG_FS | ||
38 | int tegra_clk_debugfs_init(void); | ||
39 | #else | ||
40 | static inline int tegra_clk_debugfs_init(void) { return 0; } | ||
41 | #endif | ||
42 | |||
43 | #if defined(CONFIG_ARCH_TEGRA_2x_SOC) && defined(CONFIG_DEBUG_FS) | ||
44 | int __init tegra_powergate_debugfs_init(void); | ||
45 | #else | ||
46 | static inline int tegra_powergate_debugfs_init(void) { return 0; } | ||
47 | #endif | ||
48 | |||
35 | extern struct sys_timer tegra_timer; | 49 | extern struct sys_timer tegra_timer; |
36 | #endif | 50 | #endif |