ARM: OMAP1: CGRM: fix omap1_get_reset_sources() return type
authorPaul Walmsley <paul@pwsan.com>
Tue, 30 Oct 2012 02:49:43 +0000 (20:49 -0600)
committerPaul Walmsley <paul@pwsan.com>
Tue, 30 Oct 2012 02:49:43 +0000 (20:49 -0600)
commit508c0d47736023fdcb491fd55ad64f7e08f6f32f
treee20ad3fd0673ac9a00900bb03f818cc01b9464a0
parent7fc54fd3084457c7f11b9e2e1e3fcd19a3badc33
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>
arch/arm/mach-omap1/common.h
arch/arm/mach-omap1/reset.c