1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* ---------------------------------------------------------------------------- 3 * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens 4 * 5 * Copyright (C) 2005 by Stefan Lucke 6 * Copyright (c) 2005 Vojtech Pavlik 7 */ 8 9 #ifndef _TOUCHKIT_PS2_H 10 #define _TOUCHKIT_PS2_H 11 12 #ifdef CONFIG_MOUSE_PS2_TOUCHKIT 13 int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties); 14 #else 15 static inline int touchkit_ps2_detect(struct psmouse *psmouse, 16 bool set_properties) 17 { 18 return -ENOSYS; 19 } 20 #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */ 21 22 #endif 23