1d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
224bf10abSStefan Lucke /* ----------------------------------------------------------------------------
324bf10abSStefan Lucke  * touchkit_ps2.h  --  Driver for eGalax TouchKit PS/2 Touchscreens
424bf10abSStefan Lucke  *
524bf10abSStefan Lucke  * Copyright (C) 2005 by Stefan Lucke
624bf10abSStefan Lucke  * Copyright (c) 2005 Vojtech Pavlik
724bf10abSStefan Lucke  */
824bf10abSStefan Lucke 
924bf10abSStefan Lucke #ifndef _TOUCHKIT_PS2_H
1024bf10abSStefan Lucke #define _TOUCHKIT_PS2_H
1124bf10abSStefan Lucke 
1255e3d922SAndres Salomon #ifdef CONFIG_MOUSE_PS2_TOUCHKIT
13b7802c5cSDmitry Torokhov int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties);
1455e3d922SAndres Salomon #else
15b3e2c70cSAdrian Bunk static inline int touchkit_ps2_detect(struct psmouse *psmouse,
16b7802c5cSDmitry Torokhov 				      bool set_properties)
1755e3d922SAndres Salomon {
1855e3d922SAndres Salomon 	return -ENOSYS;
1955e3d922SAndres Salomon }
2055e3d922SAndres Salomon #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */
2124bf10abSStefan Lucke 
2224bf10abSStefan Lucke #endif
23