Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f77fc45 authored by Tobias Klauser's avatar Tobias Klauser Committed by Dmitry Torokhov
Browse files

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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d0269b84
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@ static irqreturn_t altera_ps2_rxint(int irq, void *dev_id)
{
{
	struct ps2if *ps2if = dev_id;
	struct ps2if *ps2if = dev_id;
	unsigned int status;
	unsigned int status;
	int handled = IRQ_NONE;
	irqreturn_t handled = IRQ_NONE;


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