lifebook.h 660 B

12345678910111213141516171819202122232425262728
  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. int lifebook_detect(struct psmouse *psmouse, int set_properties);
  14. int lifebook_init(struct psmouse *psmouse);
  15. #else
  16. inline int lifebook_detect(struct psmouse *psmouse, int set_properties)
  17. {
  18. return -ENOSYS;
  19. }
  20. inline int lifebook_init(struct psmouse *psmouse)
  21. {
  22. return -ENOSYS;
  23. }
  24. #endif
  25. #endif