dect
/
linux-2.6
Archived
13
0
Fork 0

avr32: make intc_resume() return void to conform to syscore_ops

This patch removes the unneeded, and now wrong, return 0 from intc_resume() and
lets the function return void instead. This matches the resume callback in
struct syscore_ops.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
This commit is contained in:
Hans-Christian Egtvedt 2011-06-06 18:19:20 +02:00
parent 3000f0077a
commit c162755491
1 changed files with 1 additions and 3 deletions

View File

@ -167,14 +167,12 @@ static int intc_suspend(void)
return 0;
}
static int intc_resume(void)
static void intc_resume(void)
{
int i;
for (i = 0; i < 64; i++)
intc_writel(&intc0, INTPR0 + 4 * i, intc0.saved_ipr[i]);
return 0;
}
#else
#define intc_suspend NULL