byd.h 390 B

12345678910111213141516171819
  1. #ifndef _BYD_H
  2. #define _BYD_H
  3. #ifdef CONFIG_MOUSE_PS2_BYD
  4. int byd_detect(struct psmouse *psmouse, bool set_properties);
  5. int byd_init(struct psmouse *psmouse);
  6. #else
  7. static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
  8. {
  9. return -ENOSYS;
  10. }
  11. static inline int byd_init(struct psmouse *psmouse)
  12. {
  13. return -ENOSYS;
  14. }
  15. #endif /* CONFIG_MOUSE_PS2_BYD */
  16. #endif /* _BYD_H */