Skip to contentSkip to conversation

make the dummy touchkit_ps2_detect() static

PATCH Applied Adrian Bunk 2 participants 2 messages Aug 14, 2007 – Aug 30, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make the dummy touchkit_ps2_detect() static

The dummy touchkit_ps2_detect() for the CONFIG_MOUSE_PS2_TOUCHKIT=n case shouldn't be a global function.

---
64d15c53e66b200d832a6009aa24c344883bcbcf

drivers/input/mouse/touchkit_ps2.h +2 -1
index 61e9dfd..8a0dd35 100644
@@ -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;
 }
#1 lore raw

Hi Adrian,

Quoted 3 lines · Adrian Bunk

The dummy touchkit_ps2_detect() for the CONFIG_MOUSE_PS2_TOUCHKIT=n case shouldn't be a global function.

Applied, thank you.

Btw, sorry for the long silence - I had a hard drive crash and the day after I restored everything the disk controller decided to die as well and write garbage all over the new disk ;(

Signature · 1 line
Dmitry