Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / input / mouse / byd.h
blob8cb90d904186cfe29d76abfd2975654248f1b101
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BYD_H
3 #define _BYD_H
5 #ifdef CONFIG_MOUSE_PS2_BYD
6 int byd_detect(struct psmouse *psmouse, bool set_properties);
7 int byd_init(struct psmouse *psmouse);
8 #else
9 static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
11 return -ENOSYS;
13 static inline int byd_init(struct psmouse *psmouse)
15 return -ENOSYS;
17 #endif /* CONFIG_MOUSE_PS2_BYD */
19 #endif /* _BYD_H */