Skip to content

Commit 5f77fc4

Browse files
tklauserdtor
authored andcommitted
Input: altera_ps2 - use correct type for irq return value
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>
1 parent d0269b8 commit 5f77fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/serio/altera_ps2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static irqreturn_t altera_ps2_rxint(int irq, void *dev_id)
3737
{
3838
struct ps2if *ps2if = dev_id;
3939
unsigned int status;
40-
int handled = IRQ_NONE;
40+
irqreturn_t handled = IRQ_NONE;
4141

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

0 commit comments

Comments
 (0)