hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/input/mouse/hgpk.h
....@@ -47,21 +47,14 @@
4747 int xsaw_secondary, ysaw_secondary; /* jumpiness detection */
4848 };
4949
50
-#ifdef CONFIG_MOUSE_PS2_OLPC
51
-void hgpk_module_init(void);
5250 int hgpk_detect(struct psmouse *psmouse, bool set_properties);
5351 int hgpk_init(struct psmouse *psmouse);
52
+
53
+#ifdef CONFIG_MOUSE_PS2_OLPC
54
+void hgpk_module_init(void);
5455 #else
5556 static inline void hgpk_module_init(void)
5657 {
57
-}
58
-static inline int hgpk_detect(struct psmouse *psmouse, bool set_properties)
59
-{
60
- return -ENODEV;
61
-}
62
-static inline int hgpk_init(struct psmouse *psmouse)
63
-{
64
- return -ENODEV;
6558 }
6659 #endif
6760