blob: 8cb90d904186cfe29d76abfd2975654248f1b101 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _BYD_H
3#define _BYD_H
4
5#ifdef CONFIG_MOUSE_PS2_BYD
6int byd_detect(struct psmouse *psmouse, bool set_properties);
7int byd_init(struct psmouse *psmouse);
8#else
9static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
10{
11 return -ENOSYS;
12}
13static inline int byd_init(struct psmouse *psmouse)
14{
15 return -ENOSYS;
16}
17#endif /* CONFIG_MOUSE_PS2_BYD */
18
19#endif /* _BYD_H */