From b47ba4b087558fa961b703a0fb005c45583f8815 Mon Sep 17 00:00:00 2001 From: Lekensteyn Date: Thu, 2 Feb 2012 23:22:16 +0100 Subject: [PATCH] Fix detection of machine by appending spaces --- acpi-handle-hack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acpi-handle-hack.c b/acpi-handle-hack.c index 0986c90..cd2b6f6 100644 --- a/acpi-handle-hack.c +++ b/acpi-handle-hack.c @@ -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) {