From bedbef8ad3e75a304af6361af235302bcc61d06b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 14 May 2024 06:39:01 +0000 Subject: [PATCH] 修改内核路径 --- kernel/drivers/input/mouse/hgpk.h | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/kernel/drivers/input/mouse/hgpk.h b/kernel/drivers/input/mouse/hgpk.h index 98b7b38..ce04159 100644 --- a/kernel/drivers/input/mouse/hgpk.h +++ b/kernel/drivers/input/mouse/hgpk.h @@ -47,21 +47,14 @@ int xsaw_secondary, ysaw_secondary; /* jumpiness detection */ }; -#ifdef CONFIG_MOUSE_PS2_OLPC -void hgpk_module_init(void); int hgpk_detect(struct psmouse *psmouse, bool set_properties); int hgpk_init(struct psmouse *psmouse); + +#ifdef CONFIG_MOUSE_PS2_OLPC +void hgpk_module_init(void); #else static inline void hgpk_module_init(void) { -} -static inline int hgpk_detect(struct psmouse *psmouse, bool set_properties) -{ - return -ENODEV; -} -static inline int hgpk_init(struct psmouse *psmouse) -{ - return -ENODEV; } #endif -- Gitblit v1.6.2