xref: /openbmc/linux/drivers/input/mouse/byd.h (revision b2441318)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
298ee3771SChris Diamand #ifndef _BYD_H
398ee3771SChris Diamand #define _BYD_H
498ee3771SChris Diamand 
598ee3771SChris Diamand #ifdef CONFIG_MOUSE_PS2_BYD
698ee3771SChris Diamand int byd_detect(struct psmouse *psmouse, bool set_properties);
798ee3771SChris Diamand int byd_init(struct psmouse *psmouse);
898ee3771SChris Diamand #else
998ee3771SChris Diamand static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
1098ee3771SChris Diamand {
1198ee3771SChris Diamand 	return -ENOSYS;
1298ee3771SChris Diamand }
1398ee3771SChris Diamand static inline int byd_init(struct psmouse *psmouse)
1498ee3771SChris Diamand {
1598ee3771SChris Diamand 	return -ENOSYS;
1698ee3771SChris Diamand }
1798ee3771SChris Diamand #endif /* CONFIG_MOUSE_PS2_BYD */
1898ee3771SChris Diamand 
1998ee3771SChris Diamand #endif /* _BYD_H */
20