diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-29 20:49:45 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 12:33:07 -0700 |
commit | 76e0e16d91af22dd6313000ff8018069123f8ed0 (patch) | |
tree | b7aeeb8a7b267335634f31b3c76f491a813d10c3 /arch/arm/mach-omap2/prcm.c | |
parent | 129f557723701b20257f5ad4deb89aac0afb95ac (diff) | |
download | linux-76e0e16d91af22dd6313000ff8018069123f8ed0.tar.bz2 |
ARM: OMAP2+: PRCM: remove omap_prcm_get_reset_sources()
omap_prcm_get_reset_sources() is now unused; so, remove it.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prcm.c')
-rw-r--r-- | arch/arm/mach-omap2/prcm.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c index cff270a178c5..05c754edbf3f 100644 --- a/arch/arm/mach-omap2/prcm.c +++ b/arch/arm/mach-omap2/prcm.c @@ -47,18 +47,6 @@ void __iomem *prcm_mpu_base; #define MAX_MODULE_ENABLE_WAIT 100000 -u32 omap_prcm_get_reset_sources(void) -{ - /* XXX This presumably needs modification for 34XX */ - if (cpu_is_omap24xx() || cpu_is_omap34xx()) - return omap2_prm_read_mod_reg(WKUP_MOD, OMAP2_RM_RSTST) & 0x7f; - if (cpu_is_omap44xx()) - return omap2_prm_read_mod_reg(WKUP_MOD, OMAP4_RM_RSTST) & 0x7f; - - return 0; -} -EXPORT_SYMBOL(omap_prcm_get_reset_sources); - /* Resets clock rates and reboots the system. Only called from system.h */ void omap_prcm_restart(char mode, const char *cmd) { |