summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hdaps.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-09-14 13:10:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-14 13:10:48 -0700
commite75f801f1febabfa3cf3dcb3a1a05bf3c243d41e (patch)
tree4f557d17386a42b3db212eb96e552fd45ec04f82 /drivers/platform/x86/hdaps.c
parentba768535b467bb2d342a1581450394f1148dc8ae (diff)
parent6faadbbb7f9da70ce484f98f72223c20125a1009 (diff)
downloadlinux-e75f801f1febabfa3cf3dcb3a1a05bf3c243d41e.tar.bz2
Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
Pull dmi update from Jean Delvare: "Mark all struct dmi_system_id instances const" * 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: dmi: Mark all struct dmi_system_id instances const
Diffstat (limited to 'drivers/platform/x86/hdaps.c')
-rw-r--r--drivers/platform/x86/hdaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/hdaps.c b/drivers/platform/x86/hdaps.c
index 458e6c948c11..c26baf77938e 100644
--- a/drivers/platform/x86/hdaps.c
+++ b/drivers/platform/x86/hdaps.c
@@ -514,7 +514,7 @@ static int __init hdaps_dmi_match_invert(const struct dmi_system_id *id)
"ThinkPad T42p", so the order of the entries matters.
If your ThinkPad is not recognized, please update to latest
BIOS. This is especially the case for some R52 ThinkPads. */
-static struct dmi_system_id __initdata hdaps_whitelist[] = {
+static const struct dmi_system_id hdaps_whitelist[] __initconst = {
HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad R50p", HDAPS_BOTH_AXES),
HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R50"),
HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R51"),