]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: i8042 - fix warning on non-x86 builds
authorRoland Dreier <rdreier@cisco.com>
Mon, 10 Mar 2008 10:08:43 +0000 (03:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Mar 2008 15:53:52 +0000 (11:53 -0400)
commitd38501a379b7827a9bf916ba79d53f66c4ca7caa
tree70c26ef4dfc94637c0bf3ea284fee1398887da57
parent3c514387bd24c41a0cbb434f59e4727e5829cc8e
Input: i8042 - fix warning on non-x86 builds

Commit c18bab80 ("Input: i8042 - non-x86 build fix") introduced the
following warning on non-x86 builds:

    drivers/input/serio/i8042.c: In function 'i8042_probe':
    drivers/input/serio/i8042.c:1154: warning: unused variable 'param'

Fix this by moving the parameter variable declaration into the #ifdef too.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042.c