Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c18bab80d16f04db3e263cc97522d21693cad2ce
Commit:     c18bab80d16f04db3e263cc97522d21693cad2ce
Parent:     cec69c376be132a6afdc55b8090a389eaa3cd770
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 00:48:15 2008 -0500
Committer:  Dmitry Torokhov <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 00:48:15 2008 -0500

    Input: i8042 - non-x86 build fix
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
---
 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 1f73cf7..2763394 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
  */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to