diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-30 03:49:43 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-10-30 03:49:43 +0100 |
commit | 508c0d47736023fdcb491fd55ad64f7e08f6f32f (patch) | |
tree | e20ad3fd0673ac9a00900bb03f818cc01b9464a0 /arch/arm/mach-omap1/common.h | |
parent | Merge branch 'omap-for-v3.8/cleanup-headers' into omap-for-v3.8/cleanup-prcm (diff) | |
download | linux-508c0d47736023fdcb491fd55ad64f7e08f6f32f.tar.xz linux-508c0d47736023fdcb491fd55ad64f7e08f6f32f.zip |
ARM: OMAP1: CGRM: fix omap1_get_reset_sources() return type
An older version of the patch "ARM: OMAP1: create read_reset_sources()
function (for initial use by watchdog)" was sent upstream, which used
the wrong return type for the omap1_get_reset_sources() function.
Fix it to return a u32, which is what the WDTIMER platform_data
function pointer read_reset_sources() expects.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap1/common.h')
-rw-r--r-- | arch/arm/mach-omap1/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h index d6ac18d04da7..ecd0bb664dad 100644 --- a/arch/arm/mach-omap1/common.h +++ b/arch/arm/mach-omap1/common.h @@ -94,6 +94,6 @@ extern int ocpi_enable(void); static inline int ocpi_enable(void) { return 0; } #endif -extern int omap1_get_reset_sources(void); +extern u32 omap1_get_reset_sources(void); #endif /* __ARCH_ARM_MACH_OMAP1_COMMON_H */ |