Input: i8042 - non-x86 build fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 1f73cf7..2763394 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -1172,14 +1172,14 @@
if (error)
goto out_fail;
}
-
+#ifdef CONFIG_X86
if (i8042_dritek) {
param = 0x90;
error = i8042_command(¶m, 0x1059);
if (error)
goto out_fail;
}
-
+#endif
/*
* Ok, everything is ready, let's register all serio ports
*/