Fix detection of machine by appending spaces
This commit is contained in:
parent
3668be9736
commit
b47ba4b087
@ -20,8 +20,8 @@ static acpi_handle orig_handle;
|
||||
* Returns true if the system needs an ACPI handle hack
|
||||
*/
|
||||
static bool __init need_acpi_handle_hack(void) {
|
||||
return dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y470") ||
|
||||
dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y570");
|
||||
return dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y470 ") ||
|
||||
dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y570 ");
|
||||
}
|
||||
|
||||
static struct pci_dev __init *get_discrete_device(void) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user