From dd212eea77d96b49ee94e8a5290e4153315ebbde Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 27 Oct 2023 18:12:23 +0200 Subject: msm: thermal-dev: Fix strict-prototypes error Change-Id: If0e72ed9ae5ac9ea2db67f92e34dbf9675049d26 --- drivers/thermal/msm_thermal-dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/msm_thermal-dev.c b/drivers/thermal/msm_thermal-dev.c index ead9765666c8..632bfba0c655 100644 --- a/drivers/thermal/msm_thermal-dev.c +++ b/drivers/thermal/msm_thermal-dev.c @@ -346,7 +346,7 @@ static const struct file_operations msm_thermal_fops = { .release = msm_thermal_ioctl_release, }; -int msm_thermal_ioctl_init() +int msm_thermal_ioctl_init(void) { int ret = 0; dev_t thermal_dev; @@ -409,7 +409,7 @@ ioctl_init_exit: return ret; } -void msm_thermal_ioctl_cleanup() +void msm_thermal_ioctl_cleanup(void) { uint32_t idx = 0; dev_t thermal_dev = MKDEV(msm_thermal_major, 0); -- cgit v1.2.3