Explorar o código

Input: i8042 - make pnp_data_busted variable boolean instead of int

This small snippet escaped last round of int -> bool conversion.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov %!s(int64=15) %!d(string=hai) anos
pai
achega
7dcc9c230f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/input/serio/i8042-x86ia64io.h

+ 1 - 1
drivers/input/serio/i8042-x86ia64io.h

@@ -661,7 +661,7 @@ static void i8042_pnp_exit(void)
 static int __init i8042_pnp_init(void)
 {
 	char kbd_irq_str[4] = { 0 }, aux_irq_str[4] = { 0 };
-	int pnp_data_busted = false;
+	bool pnp_data_busted = false;
 	int err;
 
 #ifdef CONFIG_X86