| Kenan Esau | 02d7f58 | 2005-05-29 02:30:22 -0500 | [diff] [blame] | 1 | /* | 
|  | 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 Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 14 | #ifdef CONFIG_MOUSE_PS2_LIFEBOOK | 
| Dmitry Torokhov | 7705d54 | 2009-12-03 23:21:14 -0800 | [diff] [blame] | 15 | void lifebook_module_init(void); | 
| Dmitry Torokhov | b7802c5 | 2009-09-09 19:13:20 -0700 | [diff] [blame] | 16 | int lifebook_detect(struct psmouse *psmouse, bool set_properties); | 
| Dmitry Torokhov | a15d60f | 2005-05-29 02:30:32 -0500 | [diff] [blame] | 17 | int lifebook_init(struct psmouse *psmouse); | 
| Andres Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 18 | #else | 
| Dmitry Torokhov | 7705d54 | 2009-12-03 23:21:14 -0800 | [diff] [blame] | 19 | inline void lifebook_module_init(void) | 
|  | 20 | { | 
|  | 21 | } | 
| Dmitry Torokhov | b7802c5 | 2009-09-09 19:13:20 -0700 | [diff] [blame] | 22 | inline int lifebook_detect(struct psmouse *psmouse, bool set_properties) | 
| Andres Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 23 | { | 
|  | 24 | return -ENOSYS; | 
|  | 25 | } | 
|  | 26 | inline int lifebook_init(struct psmouse *psmouse) | 
|  | 27 | { | 
|  | 28 | return -ENOSYS; | 
|  | 29 | } | 
|  | 30 | #endif | 
| Kenan Esau | 02d7f58 | 2005-05-29 02:30:22 -0500 | [diff] [blame] | 31 |  | 
|  | 32 | #endif |