mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 12:04:46 +08:00
19 lines
390 B
C
19 lines
390 B
C
|
#ifndef _BYD_H
|
||
|
#define _BYD_H
|
||
|
|
||
|
#ifdef CONFIG_MOUSE_PS2_BYD
|
||
|
int byd_detect(struct psmouse *psmouse, bool set_properties);
|
||
|
int byd_init(struct psmouse *psmouse);
|
||
|
#else
|
||
|
static inline int byd_detect(struct psmouse *psmouse, bool set_properties)
|
||
|
{
|
||
|
return -ENOSYS;
|
||
|
}
|
||
|
static inline int byd_init(struct psmouse *psmouse)
|
||
|
{
|
||
|
return -ENOSYS;
|
||
|
}
|
||
|
#endif /* CONFIG_MOUSE_PS2_BYD */
|
||
|
|
||
|
#endif /* _BYD_H */
|