Fix detection of machine by appending spaces

This commit is contained in:
Lekensteyn 2012-02-02 23:22:16 +01:00
parent 3668be9736
commit b47ba4b087

View File

@ -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) {