xref: /openbmc/linux/drivers/input/mouse/lifebook.h (revision 55e3d922)
102d7f589SKenan Esau /*
202d7f589SKenan Esau  * Fujitsu B-series Lifebook PS/2 TouchScreen driver
302d7f589SKenan Esau  *
402d7f589SKenan Esau  * Copyright (c) 2005 Vojtech Pavlik
502d7f589SKenan Esau  *
602d7f589SKenan Esau  * This program is free software; you can redistribute it and/or modify it
702d7f589SKenan Esau  * under the terms of the GNU General Public License version 2 as published by
802d7f589SKenan Esau  * the Free Software Foundation.
902d7f589SKenan Esau  */
1002d7f589SKenan Esau 
1102d7f589SKenan Esau #ifndef _LIFEBOOK_H
1202d7f589SKenan Esau #define _LIFEBOOK_H
1302d7f589SKenan Esau 
1455e3d922SAndres Salomon #ifdef CONFIG_MOUSE_PS2_LIFEBOOK
15a15d60f8SDmitry Torokhov int lifebook_detect(struct psmouse *psmouse, int set_properties);
16a15d60f8SDmitry Torokhov int lifebook_init(struct psmouse *psmouse);
1755e3d922SAndres Salomon #else
1855e3d922SAndres Salomon inline int lifebook_detect(struct psmouse *psmouse, int set_properties)
1955e3d922SAndres Salomon {
2055e3d922SAndres Salomon 	return -ENOSYS;
2155e3d922SAndres Salomon }
2255e3d922SAndres Salomon inline int lifebook_init(struct psmouse *psmouse)
2355e3d922SAndres Salomon {
2455e3d922SAndres Salomon 	return -ENOSYS;
2555e3d922SAndres Salomon }
2655e3d922SAndres Salomon #endif
2702d7f589SKenan Esau 
2802d7f589SKenan Esau #endif
29