From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:43:03 +0000
Subject: [PATCH] add ax88772C AX88772C_eeprom_tools
---
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