Skip to content

Commit 3ce05a4

Browse files
committed
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
2 parents d9cee5d + df6dd1b commit 3ce05a4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

drivers/platform/x86/ideapad-laptop.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,13 @@ static void ideapad_acpi_notify(acpi_handle handle, u32 event, void *data)
829829
* report all radios as hardware-blocked.
830830
*/
831831
static const struct dmi_system_id no_hw_rfkill_list[] = {
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+
},
832839
{
833840
.ident = "Lenovo Yoga 2 11 / 13 / Pro",
834841
.matches = {

drivers/platform/x86/thinkpad_acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ static int hotkey_mask_get(void)
21152115
return 0;
21162116
}
21172117

2118-
void static hotkey_mask_warn_incomplete_mask(void)
2118+
static void hotkey_mask_warn_incomplete_mask(void)
21192119
{
21202120
/* log only what the user can fix... */
21212121
const u32 wantedmask = hotkey_driver_mask &

0 commit comments

Comments
 (0)