124bf10abSStefan Lucke /* ---------------------------------------------------------------------------- 224bf10abSStefan Lucke * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens 324bf10abSStefan Lucke * 424bf10abSStefan Lucke * Copyright (C) 2005 by Stefan Lucke 524bf10abSStefan Lucke * Copyright (c) 2005 Vojtech Pavlik 624bf10abSStefan Lucke * 724bf10abSStefan Lucke * This program is free software; you can redistribute it and/or modify it 824bf10abSStefan Lucke * under the terms of the GNU General Public License version 2 as published by 924bf10abSStefan Lucke * the Free Software Foundation. 1024bf10abSStefan Lucke */ 1124bf10abSStefan Lucke 1224bf10abSStefan Lucke #ifndef _TOUCHKIT_PS2_H 1324bf10abSStefan Lucke #define _TOUCHKIT_PS2_H 1424bf10abSStefan Lucke 1555e3d922SAndres Salomon #ifdef CONFIG_MOUSE_PS2_TOUCHKIT 16b7802c5cSDmitry Torokhov int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties); 1755e3d922SAndres Salomon #else 18b3e2c70cSAdrian Bunk static inline int touchkit_ps2_detect(struct psmouse *psmouse, 19b7802c5cSDmitry Torokhov bool set_properties) 2055e3d922SAndres Salomon { 2155e3d922SAndres Salomon return -ENOSYS; 2255e3d922SAndres Salomon } 2355e3d922SAndres Salomon #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */ 2424bf10abSStefan Lucke 2524bf10abSStefan Lucke #endif 26