aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-05-05 21:14:04 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-05-05 21:14:04 -0400
commit3ce05a4e740539a3e9d48456e2b046b7240df3ff (patch)
tree95c860d85282bd32e94b74c374edc9fa025eb8a9
parentd9cee5d4f66ef36f69b0108dedbad7f7009bb6a8 (diff)
parentdf6dd1b35b0ec0ac6a5298378ceaf487091f448c (diff)
Merge tag 'platform-drivers-x86-v4.1-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
Pull x86 platform driver fixes from Darren Hart: "This includes a trivial warning and adding a Lenovo laptop to an existing quirk. I've held off on things like the latter in the past, but I didn't feel it was risky enough to push out to 4.2. - thinkpad_acpi: Fix warning for static not at beginning - ideapad_laptop: Add Lenovo G40-30 to devices without radio switch" * tag 'platform-drivers-x86-v4.1-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86: thinkpad_acpi: Fix warning for static not at beginning ideapad_laptop: Add Lenovo G40-30 to devices without radio switch
-rw-r--r--drivers/platform/x86/ideapad-laptop.c7
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index b3d419a84723..b496db87bc05 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -830,6 +830,13 @@ static void ideapad_acpi_notify(acpi_handle handle, u32 event, void *data)
830 */ 830 */
831static const struct dmi_system_id no_hw_rfkill_list[] = { 831static const struct dmi_system_id no_hw_rfkill_list[] = {
832 { 832 {
833 .ident = "Lenovo G40-30",
834 .matches = {
835 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
836 DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G40-30"),
837 },
838 },
839 {
833 .ident = "Lenovo Yoga 2 11 / 13 / Pro", 840 .ident = "Lenovo Yoga 2 11 / 13 / Pro",
834 .matches = { 841 .matches = {
835 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 842 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index 7769575345d8..9bb9ad6d4a1b 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -2115,7 +2115,7 @@ static int hotkey_mask_get(void)
2115 return 0; 2115 return 0;
2116} 2116}
2117 2117
2118void static hotkey_mask_warn_incomplete_mask(void) 2118static void hotkey_mask_warn_incomplete_mask(void)
2119{ 2119{
2120 /* log only what the user can fix... */ 2120 /* log only what the user can fix... */
2121 const u32 wantedmask = hotkey_driver_mask & 2121 const u32 wantedmask = hotkey_driver_mask &