aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/applesmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/applesmc.c')
-rw-r--r--drivers/hwmon/applesmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index 21ff8e126889..f37fd7ebf65a 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -1071,7 +1071,7 @@ static const struct attribute_group temperature_attributes_group =
1071/* 1071/*
1072 * applesmc_dmi_match - found a match. return one, short-circuiting the hunt. 1072 * applesmc_dmi_match - found a match. return one, short-circuiting the hunt.
1073 */ 1073 */
1074static int applesmc_dmi_match(struct dmi_system_id *id) 1074static int applesmc_dmi_match(const struct dmi_system_id *id)
1075{ 1075{
1076 int i = 0; 1076 int i = 0;
1077 struct dmi_match_data* dmi_data = id->driver_data; 1077 struct dmi_match_data* dmi_data = id->driver_data;