Input: synaptics - fix compile warning
authorJJ Ding <dgdunix@gmail.com>
Fri, 11 May 2012 05:32:00 +0000 (22:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 May 2012 05:33:49 +0000 (22:33 -0700)
commit1a49a0a04d13049ac4f90d2e61da9b29a36962f7
tree94c9c46c8ccc115e7ae54abc29f2a3e9a36b5676
parentf4eea7e213e89a7ba1a23378af2f68b914b0f1e3
Input: synaptics - fix compile warning

Move synaptics_invert_y() inside CONFIG_MOUSE_PS2_SYNAPTICS to get rid of
a compile warning when we don't select synaptics support.

drivers/input/mouse/synaptics.c:53:12: warning: ‘synaptics_invert_y’ defined but not used [-Wunused-function]

Signed-off-by: JJ Ding <dgdunix@gmail.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c