linux/drivers/input/mouse/lifebook.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0-only */
   2/*
   3 * Fujitsu B-series Lifebook PS/2 TouchScreen driver
   4 *
   5 * Copyright (c) 2005 Vojtech Pavlik
   6 */
   7
   8#ifndef _LIFEBOOK_H
   9#define _LIFEBOOK_H
  10
  11#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
  12void lifebook_module_init(void);
  13int lifebook_detect(struct psmouse *psmouse, bool set_properties);
  14int lifebook_init(struct psmouse *psmouse);
  15#else
  16static inline void lifebook_module_init(void)
  17{
  18}
  19static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
  20{
  21        return -ENOSYS;
  22}
  23static inline int lifebook_init(struct psmouse *psmouse)
  24{
  25        return -ENOSYS;
  26}
  27#endif
  28
  29#endif
  30