From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- 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