diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-03-18 17:08:52 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-24 13:47:30 +1100 |
commit | fb2474491cd3925e6ecece0823f4673af3b0d597 (patch) | |
tree | ffc8f026a6c959bb15cff2ab73ecb716da7cb755 /arch/powerpc/kernel | |
parent | 56aa4129e87be43676c6e3eac41a6aa553877802 (diff) |
powerpc/pmi: Irq handlers return irqreturn_t
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 <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions