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:
56aa412
)
powerpc/pmi: Irq handlers return irqreturn_t
author
Stephen Rothwell
<
[email protected]
>
Wed, 18 Mar 2009 17:08:52 +0000
(17:08 +0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Tue, 24 Mar 2009 02:47:30 +0000
(13:47 +1100)
Commit
bedd30d986a05e32dc3eab874e4b9ed8a38058bb
("genirq: make irqreturn_t
an enum") from the genirq tree in next-
20090319
caused this new warning:
arch/powerpc/sysdev/pmi.c: In function 'pmi_of_probe':
arch/powerpc/sysdev/pmi.c:166: warning: passing argument 2 of 'request_irq' from incompatible pointer type
Change the return type of the handler from "int" to "irqreturn_t".
Cc: Thomas Gleixner <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Signed-off-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/sysdev/pmi.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/sysdev/pmi.c
b/arch/powerpc/sysdev/pmi.c
index c858749263e019e0641af6475341740993077741..aaa915998eb630cdb0492427a67ac40816e67a68 100644
(file)
--- a/
arch/powerpc/sysdev/pmi.c
+++ b/
arch/powerpc/sysdev/pmi.c
@@
-50,7
+50,7
@@
struct pmi_data {
static struct pmi_data *data;
-static i
n
t pmi_irq_handler(int irq, void *dev_id)
+static i
rqreturn_
t pmi_irq_handler(int irq, void *dev_id)
{
u8 type;
int rc;