xref: /openbmc/linux/drivers/input/mouse/byd.h (revision 8730046c)
1 #ifndef _BYD_H
2 #define _BYD_H
3 
4 #ifdef CONFIG_MOUSE_PS2_BYD
5 int byd_detect(struct psmouse *psmouse, bool set_properties);
6 int byd_init(struct psmouse *psmouse);
7 #else
8 static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
9 {
10 	return -ENOSYS;
11 }
12 static inline int byd_init(struct psmouse *psmouse)
13 {
14 	return -ENOSYS;
15 }
16 #endif /* CONFIG_MOUSE_PS2_BYD */
17 
18 #endif /* _BYD_H */
19