lifebook.h 759 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Fujitsu B-series Lifebook PS/2 TouchScreen driver
  3. *
  4. * Copyright (c) 2005 Vojtech Pavlik
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published by
  8. * the Free Software Foundation.
  9. */
  10. #ifndef _LIFEBOOK_H
  11. #define _LIFEBOOK_H
  12. #ifdef CONFIG_MOUSE_PS2_LIFEBOOK
  13. void lifebook_module_init(void);
  14. int lifebook_detect(struct psmouse *psmouse, bool set_properties);
  15. int lifebook_init(struct psmouse *psmouse);
  16. #else
  17. static inline void lifebook_module_init(void)
  18. {
  19. }
  20. static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
  21. {
  22. return -ENOSYS;
  23. }
  24. static inline int lifebook_init(struct psmouse *psmouse)
  25. {
  26. return -ENOSYS;
  27. }
  28. #endif
  29. #endif