]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/input/mouse/byd.h
IB/mlx4: Fix create CQ error flow
[mirror_ubuntu-artful-kernel.git] / drivers / input / mouse / byd.h
CommitLineData
98ee3771
CD
1#ifndef _BYD_H
2#define _BYD_H
3
4#ifdef CONFIG_MOUSE_PS2_BYD
5int byd_detect(struct psmouse *psmouse, bool set_properties);
6int byd_init(struct psmouse *psmouse);
7#else
8static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
9{
10 return -ENOSYS;
11}
12static inline int byd_init(struct psmouse *psmouse)
13{
14 return -ENOSYS;
15}
16#endif /* CONFIG_MOUSE_PS2_BYD */
17
18#endif /* _BYD_H */