summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-02-06 06:48:15 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-02-06 06:48:15 +0100
commitc18bab80d16f04db3e263cc97522d21693cad2ce (patch)
tree2cda26190db76d92ab339c932131885fe8a98775
parentInput: constify function pointer tables (seq_operations) (diff)
downloadlinux-c18bab80d16f04db3e263cc97522d21693cad2ce.tar.xz
linux-c18bab80d16f04db3e263cc97522d21693cad2ce.zip
Input: i8042 - non-x86 build fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/input/serio/i8042.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 1f73cf72a7c5..2763394869d2 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -1172,14 +1172,14 @@ static int __devinit i8042_probe(struct platform_device *dev)
if (error)
goto out_fail;
}
-
+#ifdef CONFIG_X86
if (i8042_dritek) {
param = 0x90;
error = i8042_command(&param, 0x1059);
if (error)
goto out_fail;
}
-
+#endif
/*
* Ok, everything is ready, let's register all serio ports
*/