]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Input: i8042 - non-x86 build fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Feb 2008 05:48:15 +0000 (00:48 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Feb 2008 05:48:15 +0000 (00:48 -0500)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042.c

index 1f73cf72a7c5d76decfd594b4d2ccc51b9cd669a..2763394869d2b59fb14dfbaaf584bdc80d22d785 100644 (file)
@@ -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
  */