drivers: misc: samsung: Fix strict-prototypes error
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 22 Apr 2024 01:01:09 +0000 (21:01 -0400)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:24:58 +0000 (20:24 +0300)
Change-Id: I363ceb1503d7caae7404dbd5f02356618c911b0c

drivers/hwmon/ntc_thermistor.c

index f39434638280117c2a0fec4669667c99cfcfb18a..872176b5b1bffc96d7b216b248651503469c8410 100755 (executable)
@@ -563,7 +563,7 @@ static ssize_t ntc_show_temp(struct device *dev,
        return sprintf(buf, "%d\n", get_temp_mc(data, ohm));
 }
 
-int ntc_show_batt_temp()
+int ntc_show_batt_temp(void)
 {
        int ohm;
        int temp;