Skip to content

Commit

Permalink
msm: thermal-dev: Fix strict-prototypes error
Browse files Browse the repository at this point in the history
Change-Id: If0e72ed9ae5ac9ea2db67f92e34dbf9675049d26
  • Loading branch information
luk1337 authored and chrmhoffmann committed Nov 7, 2023
1 parent cbdce56 commit ed08b86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/thermal/msm_thermal-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -409,7 +409,7 @@ int msm_thermal_ioctl_init()
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);
Expand Down

0 comments on commit ed08b86

Please sign in to comment.