xref: /openbmc/linux/drivers/input/mouse/byd.h (revision 98ee3771)
198ee3771SChris Diamand #ifndef _BYD_H
298ee3771SChris Diamand #define _BYD_H
398ee3771SChris Diamand 
498ee3771SChris Diamand #ifdef CONFIG_MOUSE_PS2_BYD
598ee3771SChris Diamand int byd_detect(struct psmouse *psmouse, bool set_properties);
698ee3771SChris Diamand int byd_init(struct psmouse *psmouse);
798ee3771SChris Diamand #else
898ee3771SChris Diamand static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
998ee3771SChris Diamand {
1098ee3771SChris Diamand 	return -ENOSYS;
1198ee3771SChris Diamand }
1298ee3771SChris Diamand static inline int byd_init(struct psmouse *psmouse)
1398ee3771SChris Diamand {
1498ee3771SChris Diamand 	return -ENOSYS;
1598ee3771SChris Diamand }
1698ee3771SChris Diamand #endif /* CONFIG_MOUSE_PS2_BYD */
1798ee3771SChris Diamand 
1898ee3771SChris Diamand #endif /* _BYD_H */
19