input: touchscreen: xiaomi_touch: Fix prototype errors

Change-Id: I367976f96d8ce22ea4ca352e2aaee72281de3952
This commit is contained in:
Giovanni Ricca 2024-01-11 15:08:45 +00:00
parent 1b7aaf5a42
commit 3b65f0953f
No known key found for this signature in database

View File

@ -207,13 +207,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;
}
@ -491,7 +491,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");