mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
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>
This commit is contained in:
parent
d0269b8475
commit
5f77fc456c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue