projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7460caf
)
Input: psmouse - make dummy touchkit_ps2_detect() static
author
Adrian Bunk
<bunk@kernel.org>
Thu, 30 Aug 2007 04:44:33 +0000
(
00:44
-0400)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Thu, 30 Aug 2007 04:44:33 +0000
(
00:44
-0400)
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>
drivers/input/mouse/touchkit_ps2.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/mouse/touchkit_ps2.h
b/drivers/input/mouse/touchkit_ps2.h
index 61e9dfd8419f41c23dbd873173139715045e3211..8a0dd3574aefb0a9d11913728e2cbe02ebc95e13 100644
(file)
--- 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;
}