From 8842f4a0b209c101b3b78281c3ff629c777883f0 Mon Sep 17 00:00:00 2001 From: Arian Date: Tue, 20 Feb 2024 23:02:22 +0100 Subject: [PATCH] input: touchscreen: xiaomi: Add prototypes to function declarations Change-Id: I91435bce8d6b4a0df50adf24cfd74e7a5b9862ad --- drivers/input/touchscreen/xiaomi/xiaomi_touch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/xiaomi/xiaomi_touch.c b/drivers/input/touchscreen/xiaomi/xiaomi_touch.c index 4205dae669da..f5a6b0eaf324 100644 --- a/drivers/input/touchscreen/xiaomi/xiaomi_touch.c +++ b/drivers/input/touchscreen/xiaomi/xiaomi_touch.c @@ -404,13 +404,13 @@ struct xiaomi_touch *xiaomi_touch_dev_get(int minor) return NULL; } -struct class *get_xiaomi_touch_class() +struct class *get_xiaomi_touch_class(void) { return xiaomi_touch_dev.class; } EXPORT_SYMBOL_GPL(get_xiaomi_touch_class); -struct device *get_xiaomi_touch_dev() +struct device *get_xiaomi_touch_dev(void) { return xiaomi_touch_dev.dev; } @@ -757,7 +757,7 @@ int copy_touch_rawdata(char *raw_base, int len) } EXPORT_SYMBOL_GPL(copy_touch_rawdata); -int update_touch_rawdata() +int update_touch_rawdata(void) { sysfs_notify(&xiaomi_touch_dev.dev->kobj, NULL, "update_rawdata");