__UNCONST(3).

This commit is contained in:
jruoho 2010-04-08 04:34:22 +00:00
parent bc17fdc088
commit 1fc8cacd7d
2 changed files with 4 additions and 4 deletions

View File

@ -270,7 +270,7 @@ AcpiNsInitializeDevices (
* part of the ACPI specification.
*/
Info.EvaluateInfo->PrefixNode = AcpiGbl_RootNode;
Info.EvaluateInfo->Pathname = METHOD_NAME__INI;
Info.EvaluateInfo->Pathname = __UNCONST(METHOD_NAME__INI);
Info.EvaluateInfo->Parameters = NULL;
Info.EvaluateInfo->Flags = ACPI_IGNORE_RETURN_VALUE;

View File

@ -319,7 +319,7 @@ AcpiNsRepair_ALR (
Status = AcpiNsCheckSortedList (Data, ReturnObject, 2, 1,
ACPI_SORT_ASCENDING, "AmbientIlluminance");
ACPI_SORT_ASCENDING, __UNCONST("AmbientIlluminance"));
return (Status);
}
@ -443,7 +443,7 @@ AcpiNsRepair_TSS (
Status = AcpiNsCheckSortedList (Data, ReturnObject, 5, 1,
ACPI_SORT_DESCENDING, "PowerDissipation");
ACPI_SORT_DESCENDING, __UNCONST("PowerDissipation"));
return (Status);
}
@ -488,7 +488,7 @@ AcpiNsRepair_PSS (
* should be proportional to the power.
*/
Status =AcpiNsCheckSortedList (Data, ReturnObject, 6, 0,
ACPI_SORT_DESCENDING, "CpuFrequency");
ACPI_SORT_DESCENDING, __UNCONST("CpuFrequency"));
if (ACPI_FAILURE (Status))
{
return (Status);