forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/input/mouse/byd.h
....@@ -2,18 +2,7 @@
22 #ifndef _BYD_H
33 #define _BYD_H
44
5
-#ifdef CONFIG_MOUSE_PS2_BYD
65 int byd_detect(struct psmouse *psmouse, bool set_properties);
76 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 */
187
198 #endif /* _BYD_H */