projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3000f00
)
avr32: make intc_resume() return void to conform to syscore_ops
author
Hans-Christian Egtvedt
<
[email protected]
>
Mon, 6 Jun 2011 16:19:20 +0000
(18:19 +0200)
committer
Hans-Christian Egtvedt
<
[email protected]
>
Tue, 14 Jun 2011 11:37:31 +0000
(13:37 +0200)
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 <
[email protected]
>
arch/avr32/mach-at32ap/intc.c
patch
|
blob
|
history
diff --git
a/arch/avr32/mach-at32ap/intc.c
b/arch/avr32/mach-at32ap/intc.c
index 3e3646186c9ffa686aa01ff86821fe1cc7639ebe..c9ac2f8e8f648af54f08407c7f31fb85a4807d06 100644
(file)
--- a/
arch/avr32/mach-at32ap/intc.c
+++ b/
arch/avr32/mach-at32ap/intc.c
@@
-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