byd.h 429 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _BYD_H
  3. #define _BYD_H
  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. #endif /* _BYD_H */