Chris Diamand | 98ee377 | 2016-01-27 17:04:35 -0800 | [diff] [blame] | 1 | #ifndef _BYD_H |
2 | #define _BYD_H | ||||
3 | |||||
4 | #ifdef CONFIG_MOUSE_PS2_BYD | ||||
5 | int byd_detect(struct psmouse *psmouse, bool set_properties); | ||||
6 | int byd_init(struct psmouse *psmouse); | ||||
7 | #else | ||||
8 | static inline int byd_detect(struct psmouse *psmouse, bool set_properties) | ||||
9 | { | ||||
10 | return -ENOSYS; | ||||
11 | } | ||||
12 | static inline int byd_init(struct psmouse *psmouse) | ||||
13 | { | ||||
14 | return -ENOSYS; | ||||
15 | } | ||||
16 | #endif /* CONFIG_MOUSE_PS2_BYD */ | ||||
17 | |||||
18 | #endif /* _BYD_H */ |