]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/mouse/touchkit_ps2.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-nommu
[linux-2.6-omap-h63xx.git] / drivers / input / mouse / touchkit_ps2.h
index 3f03fbcaf8f01a806fc90043590ab7f8c31724f9..8a0dd3574aefb0a9d11913728e2cbe02ebc95e13 100644 (file)
 #ifndef _TOUCHKIT_PS2_H
 #define _TOUCHKIT_PS2_H
 
+#ifdef CONFIG_MOUSE_PS2_TOUCHKIT
 int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties);
+#else
+static inline int touchkit_ps2_detect(struct psmouse *psmouse,
+                                     int set_properties)
+{
+       return -ENOSYS;
+}
+#endif /* CONFIG_MOUSE_PS2_TOUCHKIT */
 
 #endif