pmaports/device/testing/linux-huawei-plank/01_patch_lifebook_detect.patch
gtrxAC 5aa28ef117
huawei-plank: new device (MR 4096)
[ci:skip-build] already built successfully in CI
2023-05-23 15:19:16 -07:00

14 lines
513 B
Diff

fix undefined reference to `lifebook_detect'
diff --git a/drivers/input/mouse/lifebook.h b/drivers/input/mouse/lifebook.h
index 4c4326c..e4c2453 100644
--- a/drivers/input/mouse/lifebook.h
+++ b/drivers/input/mouse/lifebook.h
@@ -19,7 +19,7 @@ int lifebook_init(struct psmouse *psmouse);
inline void lifebook_module_init(void)
{
}
-inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
+static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
{
return -ENOSYS;
}