summaryrefslogtreecommitdiffstats
path: root/drivers/misc/msi-laptop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/msi-laptop.c')
-rw-r--r--drivers/misc/msi-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/msi-laptop.c b/drivers/misc/msi-laptop.c
index 349be93..83679c7 100644
--- a/drivers/misc/msi-laptop.c
+++ b/drivers/misc/msi-laptop.c
@@ -283,7 +283,7 @@ static struct platform_device *msipf_device;
/* Initialization */
-static int dmi_check_cb(struct dmi_system_id *id)
+static int dmi_check_cb(const struct dmi_system_id *id)
{
printk("msi-laptop: Identified laptop model '%s'.\n", id->ident);
return 0;
OpenPOWER on IntegriCloud