Until Kay Sievers bus_id variable length code goes in, this is a
temporary workaround.
NOT-Signed-Off-By: Carlos Corbacho <[EMAIL PROTECTED]>
CC: Len Brown <[EMAIL PROTECTED]>
CC: Matthew Garrett <[EMAIL PROTECTED]>
---
drivers/acpi/wmi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/wmi.c b/drivers/acpi/wmi.c
index 9562607..181fe93 100644
--- a/drivers/acpi/wmi.c
+++ b/drivers/acpi/wmi.c
@@ -885,7 +885,7 @@ static int wmi_create_devs(void)
gblock = &wblock->gblock;
wmi_gtoa(gblock->guid, guid_string);
- memcpy(guid_dev->bus_id, guid_string, 36);
+ memcpy(guid_dev->bus_id, guid_string, 19);
result = device_register(guid_dev);
if (result)
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html