Staging: hv: mousevsc: Cleanup and properly implement reportdesc_callback()
[zen-stable.git] / drivers / input / mouse / touchkit_ps2.h
blob2efe9ea29d0c65eb0fa38797a4181bea41fc2a47
1 /* ----------------------------------------------------------------------------
2 * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens
4 * Copyright (C) 2005 by Stefan Lucke
5 * Copyright (c) 2005 Vojtech Pavlik
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
12 #ifndef _TOUCHKIT_PS2_H
13 #define _TOUCHKIT_PS2_H
15 #ifdef CONFIG_MOUSE_PS2_TOUCHKIT
16 int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties);
17 #else
18 static inline int touchkit_ps2_detect(struct psmouse *psmouse,
19 bool set_properties)
21 return -ENOSYS;
23 #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */
25 #endif