From: Andrew Morton Date: Wed, 6 Feb 2008 05:48:15 +0000 (-0500) Subject: Input: i8042 - non-x86 build fix X-Git-Tag: v2.6.25-rc1~291^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c18bab80;p=karo-tx-linux.git Input: i8042 - non-x86 build fix Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov --- 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(¶m, 0x1059); if (error) goto out_fail; } - +#endif /* * Ok, everything is ready, let's register all serio ports */