Skip to content

Commit

Permalink
Input: altera_ps2 - use correct type for irq return value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Klauser authored and Dmitry Torokhov committed Oct 31, 2014
1 parent d0269b8 commit 5f77fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/serio/altera_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static irqreturn_t altera_ps2_rxint(int irq, void *dev_id)
{
struct ps2if *ps2if = dev_id;
unsigned int status;
int handled = IRQ_NONE;
irqreturn_t handled = IRQ_NONE;

while ((status = readl(ps2if->base)) & 0xffff0000) {
serio_interrupt(ps2if->io, status & 0xff, 0);
Expand Down

0 comments on commit 5f77fc4

Please sign in to comment.