diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-06 00:48:15 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-02-06 00:48:15 -0500 |
commit | c18bab80d16f04db3e263cc97522d21693cad2ce (patch) | |
tree | 2cda26190db76d92ab339c932131885fe8a98775 | |
parent | cec69c376be132a6afdc55b8090a389eaa3cd770 (diff) |
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.c | 4 |
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) | |||
1172 | if (error) | 1172 | if (error) |
1173 | goto out_fail; | 1173 | goto out_fail; |
1174 | } | 1174 | } |
1175 | 1175 | #ifdef CONFIG_X86 | |
1176 | if (i8042_dritek) { | 1176 | if (i8042_dritek) { |
1177 | param = 0x90; | 1177 | param = 0x90; |
1178 | error = i8042_command(¶m, 0x1059); | 1178 | error = i8042_command(¶m, 0x1059); |
1179 | if (error) | 1179 | if (error) |
1180 | goto out_fail; | 1180 | goto out_fail; |
1181 | } | 1181 | } |
1182 | 1182 | #endif | |
1183 | /* | 1183 | /* |
1184 | * Ok, everything is ready, let's register all serio ports | 1184 | * Ok, everything is ready, let's register all serio ports |
1185 | */ | 1185 | */ |