Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Chris Diamand | 98ee377 | 2016-01-27 17:04:35 -0800 | [diff] [blame] | 2 | #ifndef _BYD_H |
| 3 | #define _BYD_H |
| 4 | |
| 5 | #ifdef CONFIG_MOUSE_PS2_BYD |
| 6 | int byd_detect(struct psmouse *psmouse, bool set_properties); |
| 7 | int byd_init(struct psmouse *psmouse); |
| 8 | #else |
| 9 | static inline int byd_detect(struct psmouse *psmouse, bool set_properties) |
| 10 | { |
| 11 | return -ENOSYS; |
| 12 | } |
| 13 | static inline int byd_init(struct psmouse *psmouse) |
| 14 | { |
| 15 | return -ENOSYS; |
| 16 | } |
| 17 | #endif /* CONFIG_MOUSE_PS2_BYD */ |
| 18 | |
| 19 | #endif /* _BYD_H */ |