2005-05-29 11:30:22 +04:00
|
|
|
/*
|
|
|
|
* Fujitsu B-series Lifebook PS/2 TouchScreen driver
|
|
|
|
*
|
|
|
|
* Copyright (c) 2005 Vojtech Pavlik
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
|
|
* the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LIFEBOOK_H
|
|
|
|
#define _LIFEBOOK_H
|
|
|
|
|
2007-03-10 09:39:54 +03:00
|
|
|
#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
|
2009-12-04 10:21:14 +03:00
|
|
|
void lifebook_module_init(void);
|
2009-09-10 06:13:20 +04:00
|
|
|
int lifebook_detect(struct psmouse *psmouse, bool set_properties);
|
2005-05-29 11:30:32 +04:00
|
|
|
int lifebook_init(struct psmouse *psmouse);
|
2007-03-10 09:39:54 +03:00
|
|
|
#else
|
2014-11-10 00:31:11 +03:00
|
|
|
static inline void lifebook_module_init(void)
|
2009-12-04 10:21:14 +03:00
|
|
|
{
|
|
|
|
}
|
2014-11-10 00:31:11 +03:00
|
|
|
static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
|
2007-03-10 09:39:54 +03:00
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
2014-11-10 00:31:11 +03:00
|
|
|
static inline int lifebook_init(struct psmouse *psmouse)
|
2007-03-10 09:39:54 +03:00
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
#endif
|
2005-05-29 11:30:22 +04:00
|
|
|
|
|
|
|
#endif
|