diff options
author | Tony Lindgren <tony@atomide.com> | 2015-01-14 17:37:16 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-01-14 17:37:16 -0800 |
commit | bc7235c97f90c9def22ebda620d7eae2b49a7642 (patch) | |
tree | c5a4b904acc3f26aee7a39d2340a3e76d57b4583 /arch/arm/mach-omap2/common.h | |
parent | 132754e483d55309ddd714a2c44580379e4ac55a (diff) | |
download | linux-bc7235c97f90c9def22ebda620d7eae2b49a7642.tar.bz2 |
ARM: OMAP2+: Fix reboot for 81xx
We are missing proper hooks for 81xx for reboot to work.
Cc: Brian Hutchinson <b.hutchman@gmail.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r-- | arch/arm/mach-omap2/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index 900ebdd544a0..65b4371b3361 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h @@ -164,6 +164,14 @@ static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) } #endif +#ifdef CONFIG_SOC_TI81XX +void ti81xx_restart(enum reboot_mode mode, const char *cmd); +#else +static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd) +{ +} +#endif + #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \ defined(CONFIG_SOC_DRA7XX) || defined(CONFIG_SOC_AM43XX) void omap44xx_restart(enum reboot_mode mode, const char *cmd); |