summaryrefslogtreecommitdiff
path: root/usr/src/dkms_source_tree/lifebook.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/dkms_source_tree/lifebook.h')
-rw-r--r--usr/src/dkms_source_tree/lifebook.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/usr/src/dkms_source_tree/lifebook.h b/usr/src/dkms_source_tree/lifebook.h
new file mode 100644
index 0000000..4c4326c
--- /dev/null
+++ b/usr/src/dkms_source_tree/lifebook.h
@@ -0,0 +1,32 @@
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
14#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
15void lifebook_module_init(void);
16int lifebook_detect(struct psmouse *psmouse, bool set_properties);
17int lifebook_init(struct psmouse *psmouse);
18#else
19inline void lifebook_module_init(void)
20{
21}
22inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
23{
24 return -ENOSYS;
25}
26inline int lifebook_init(struct psmouse *psmouse)
27{
28 return -ENOSYS;
29}
30#endif
31
32#endif