Stefan Lucke | 24bf10a | 2007-02-18 01:49:10 -0500 | [diff] [blame] | 1 | /* ---------------------------------------------------------------------------- |
| 2 | * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens |
| 3 | * |
| 4 | * Copyright (C) 2005 by Stefan Lucke |
| 5 | * Copyright (c) 2005 Vojtech Pavlik |
| 6 | * |
| 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. |
| 10 | */ |
| 11 | |
| 12 | #ifndef _TOUCHKIT_PS2_H |
| 13 | #define _TOUCHKIT_PS2_H |
| 14 | |
Andres Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 15 | #ifdef CONFIG_MOUSE_PS2_TOUCHKIT |
Dmitry Torokhov | b7802c5 | 2009-09-09 19:13:20 -0700 | [diff] [blame] | 16 | int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties); |
Andres Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 17 | #else |
Adrian Bunk | b3e2c70 | 2007-08-30 00:44:33 -0400 | [diff] [blame] | 18 | static inline int touchkit_ps2_detect(struct psmouse *psmouse, |
Dmitry Torokhov | b7802c5 | 2009-09-09 19:13:20 -0700 | [diff] [blame] | 19 | bool set_properties) |
Andres Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 20 | { |
| 21 | return -ENOSYS; |
| 22 | } |
| 23 | #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */ |
Stefan Lucke | 24bf10a | 2007-02-18 01:49:10 -0500 | [diff] [blame] | 24 | |
| 25 | #endif |