summaryrefslogtreecommitdiff
path: root/source/components/hardware/hwxface.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/hardware/hwxface.c')
-rw-r--r--source/components/hardware/hwxface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/components/hardware/hwxface.c b/source/components/hardware/hwxface.c
index e8b2fe6554cda..f5d4fca6b94cc 100644
--- a/source/components/hardware/hwxface.c
+++ b/source/components/hardware/hwxface.c
@@ -565,8 +565,7 @@ AcpiGetSleepTypeData (
* Evaluate the \_Sx namespace object containing the register values
* for this state
*/
- Info->RelativePathname = ACPI_CAST_PTR (char,
- AcpiGbl_SleepStateNames[SleepState]);
+ Info->RelativePathname = AcpiGbl_SleepStateNames[SleepState];
Status = AcpiNsEvaluate (Info);
if (ACPI_FAILURE (Status))