Fix detection of machine by appending spaces

hack-lenovo
Lekensteyn 13 years ago
parent 3668be9736
commit b47ba4b087

@ -20,8 +20,8 @@ static acpi_handle orig_handle;
* Returns true if the system needs an ACPI handle hack * Returns true if the system needs an ACPI handle hack
*/ */
static bool __init need_acpi_handle_hack(void) { static bool __init need_acpi_handle_hack(void) {
return dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y470") || return dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y470 ") ||
dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y570"); dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y570 ");
} }
static struct pci_dev __init *get_discrete_device(void) { static struct pci_dev __init *get_discrete_device(void) {

Loading…
Cancel
Save