input: touchscreen: xiaomi: Add prototypes to function declarations

Change-Id: I91435bce8d6b4a0df50adf24cfd74e7a5b9862ad
This commit is contained in:
Arian 2024-02-20 23:02:22 +01:00 committed by Jens Reidel
parent 883a0b479e
commit 8842f4a0b2
No known key found for this signature in database
GPG Key ID: 23C1E5F512C12303

View File

@ -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");