mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
55e3d9224b
Allow ALPS, LOGIPS2PP, LIFEBOOK, TRACKPOINT and TOUCHKIT protocol extensions of psmouse to be disabled during compilation. This will allow users save some memory when they are sure that they will only use a certain type of mice. Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
29 lines
660 B
C
29 lines
660 B
C
/*
|
|
* 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
|
|
|
|
#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
|
|
int lifebook_detect(struct psmouse *psmouse, int set_properties);
|
|
int lifebook_init(struct psmouse *psmouse);
|
|
#else
|
|
inline int lifebook_detect(struct psmouse *psmouse, int set_properties)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
inline int lifebook_init(struct psmouse *psmouse)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
#endif
|
|
|
|
#endif
|