blob: 4c4326c6f5042434be95775663865696650342d8 [file] [log] [blame]
Kenan Esau02d7f582005-05-29 02:30:22 -05001/*
2 * Fujitsu B-series Lifebook PS/2 TouchScreen driver
3 *
4 * Copyright (c) 2005 Vojtech Pavlik
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */
10
11#ifndef _LIFEBOOK_H
12#define _LIFEBOOK_H
13
Andres Salomon55e3d922007-03-10 01:39:54 -050014#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
Dmitry Torokhov7705d542009-12-03 23:21:14 -080015void lifebook_module_init(void);
Dmitry Torokhovb7802c52009-09-09 19:13:20 -070016int lifebook_detect(struct psmouse *psmouse, bool set_properties);
Dmitry Torokhova15d60f2005-05-29 02:30:32 -050017int lifebook_init(struct psmouse *psmouse);
Andres Salomon55e3d922007-03-10 01:39:54 -050018#else
Dmitry Torokhov7705d542009-12-03 23:21:14 -080019inline void lifebook_module_init(void)
20{
21}
Dmitry Torokhovb7802c52009-09-09 19:13:20 -070022inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
Andres Salomon55e3d922007-03-10 01:39:54 -050023{
24 return -ENOSYS;
25}
26inline int lifebook_init(struct psmouse *psmouse)
27{
28 return -ENOSYS;
29}
30#endif
Kenan Esau02d7f582005-05-29 02:30:22 -050031
32#endif