2003-05-12 14:36:21

by Bruno Ducrot

[permalink] [raw]
Subject: [PATCH] TRIVIAL allow ME OS in os_acpi_name override.


OS Windows ME override for os_acpi_name need character ':' to be
included.

Please apply.

--- linux/drivers/acpi/osl.c 2003/05/09 13:57:41 1.1
+++ linux/drivers/acpi/osl.c 2003/05/12 14:41:42
@@ -999,7 +999,7 @@
return 0;

for (; count-- && str && *str; str++) {
- if (isalnum(*str) || *str == ' ')
+ if (isalnum(*str) || *str == ' ' || *str == ':')
*p++ = *str;
else if (*str == '\'' || *str == '"')
continue;

--
Ducrot Bruno

-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.