focaltech.h 555 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Focaltech TouchPad PS/2 mouse driver
  4. *
  5. * Copyright (c) 2014 Red Hat Inc.
  6. * Copyright (c) 2014 Mathias Gottschlag <mgottschlag@gmail.com>
  7. *
  8. * Red Hat authors:
  9. *
  10. * Hans de Goede <hdegoede@redhat.com>
  11. */
  12. #ifndef _FOCALTECH_H
  13. #define _FOCALTECH_H
  14. int focaltech_detect(struct psmouse *psmouse, bool set_properties);
  15. #ifdef CONFIG_MOUSE_PS2_FOCALTECH
  16. int focaltech_init(struct psmouse *psmouse);
  17. #else
  18. static inline int focaltech_init(struct psmouse *psmouse)
  19. {
  20. return -ENOSYS;
  21. }
  22. #endif
  23. #endif