summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-08-30 04:44:33 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2007-08-30 04:44:33 (GMT)
commitb3e2c70cd0d05fb6621521521fbd5debed57d753 (patch)
tree91d8355db447617a95bacfc359a7857264977887
parent7460caf32a16866f9d8675aa7aefd7d82d1e23f7 (diff)
downloadlinux-fsl-qoriq-b3e2c70cd0d05fb6621521521fbd5debed57d753.tar.xz
Input: psmouse - make dummy touchkit_ps2_detect() static
The dummy touchkit_ps2_detect() for the CONFIG_MOUSE_PS2_TOUCHKIT=n case shouldn't be a global function. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/input/mouse/touchkit_ps2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/touchkit_ps2.h b/drivers/input/mouse/touchkit_ps2.h
index 61e9dfd..8a0dd35 100644
--- a/drivers/input/mouse/touchkit_ps2.h
+++ b/drivers/input/mouse/touchkit_ps2.h
@@ -15,7 +15,8 @@
#ifdef CONFIG_MOUSE_PS2_TOUCHKIT
int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties);
#else
-inline int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties)
+static inline int touchkit_ps2_detect(struct psmouse *psmouse,
+ int set_properties)
{
return -ENOSYS;
}