]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/input/mouse/lifebook.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[mirror_ubuntu-jammy-kernel.git] / drivers / input / mouse / lifebook.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
02d7f589
KE
2/*
3 * Fujitsu B-series Lifebook PS/2 TouchScreen driver
4 *
5 * Copyright (c) 2005 Vojtech Pavlik
02d7f589
KE
6 */
7
8#ifndef _LIFEBOOK_H
9#define _LIFEBOOK_H
10
55e3d922 11#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
7705d548 12void lifebook_module_init(void);
b7802c5c 13int lifebook_detect(struct psmouse *psmouse, bool set_properties);
a15d60f8 14int lifebook_init(struct psmouse *psmouse);
55e3d922 15#else
bd447b61 16static inline void lifebook_module_init(void)
7705d548
DT
17{
18}
bd447b61 19static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
55e3d922
AS
20{
21 return -ENOSYS;
22}
bd447b61 23static inline int lifebook_init(struct psmouse *psmouse)
55e3d922
AS
24{
25 return -ENOSYS;
26}
27#endif
02d7f589
KE
28
29#endif