2005-05-29 14:30:22 +07: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 13:39:54 +07:00
|
|
|
#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
|
2009-12-04 14:21:14 +07:00
|
|
|
void lifebook_module_init(void);
|
2009-09-10 09:13:20 +07:00
|
|
|
int lifebook_detect(struct psmouse *psmouse, bool set_properties);
|
2005-05-29 14:30:32 +07:00
|
|
|
int lifebook_init(struct psmouse *psmouse);
|
2007-03-10 13:39:54 +07:00
|
|
|
#else
|
2014-11-10 04:31:11 +07:00
|
|
|
static inline void lifebook_module_init(void)
|
2009-12-04 14:21:14 +07:00
|
|
|
{
|
|
|
|
}
|
2014-11-10 04:31:11 +07:00
|
|
|
static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
|
2007-03-10 13:39:54 +07:00
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
2014-11-10 04:31:11 +07:00
|
|
|
static inline int lifebook_init(struct psmouse *psmouse)
|
2007-03-10 13:39:54 +07:00
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
#endif
|
2005-05-29 14:30:22 +07:00
|
|
|
|
|
|
|
#endif
|