diff options
Diffstat (limited to 'drivers/hwmon/hdaps.c')
-rw-r--r-- | drivers/hwmon/hdaps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index e0cf5e6fe5bc..a7c6d407572b 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c | |||
@@ -480,14 +480,14 @@ static struct attribute_group hdaps_attribute_group = { | |||
480 | /* Module stuff */ | 480 | /* Module stuff */ |
481 | 481 | ||
482 | /* hdaps_dmi_match - found a match. return one, short-circuiting the hunt. */ | 482 | /* hdaps_dmi_match - found a match. return one, short-circuiting the hunt. */ |
483 | static int __init hdaps_dmi_match(struct dmi_system_id *id) | 483 | static int __init hdaps_dmi_match(const struct dmi_system_id *id) |
484 | { | 484 | { |
485 | printk(KERN_INFO "hdaps: %s detected.\n", id->ident); | 485 | printk(KERN_INFO "hdaps: %s detected.\n", id->ident); |
486 | return 1; | 486 | return 1; |
487 | } | 487 | } |
488 | 488 | ||
489 | /* hdaps_dmi_match_invert - found an inverted match. */ | 489 | /* hdaps_dmi_match_invert - found an inverted match. */ |
490 | static int __init hdaps_dmi_match_invert(struct dmi_system_id *id) | 490 | static int __init hdaps_dmi_match_invert(const struct dmi_system_id *id) |
491 | { | 491 | { |
492 | hdaps_invert = 1; | 492 | hdaps_invert = 1; |
493 | printk(KERN_INFO "hdaps: inverting axis readings.\n"); | 493 | printk(KERN_INFO "hdaps: inverting axis readings.\n"); |