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:
d0269b8
)
Input: altera_ps2 - use correct type for irq return value
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 31 Oct 2014 16:16:41 +0000
(09:16 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 31 Oct 2014 16:32:02 +0000
(09:32 -0700)
The irq function altera_ps2_rxint returns an irqreturn_t, so use the
same type for variable storing the return value.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/altera_ps2.c
patch
|
blob
|
history
diff --git
a/drivers/input/serio/altera_ps2.c
b/drivers/input/serio/altera_ps2.c
index e0371e182a2afd42a32212da3a8812e31c6dca04..58781c8a8aecc0a089d835bee20707d318a3ac14 100644
(file)
--- a/
drivers/input/serio/altera_ps2.c
+++ b/
drivers/input/serio/altera_ps2.c
@@
-37,7
+37,7
@@
static irqreturn_t altera_ps2_rxint(int irq, void *dev_id)
{
struct ps2if *ps2if = dev_id;
unsigned int status;
- i
n
t handled = IRQ_NONE;
+ i
rqreturn_
t handled = IRQ_NONE;
while ((status = readl(ps2if->base)) & 0xffff0000) {
serio_interrupt(ps2if->io, status & 0xff, 0);