summaryrefslogtreecommitdiff
path: root/events/evxfregn.c
diff options
context:
space:
mode:
Diffstat (limited to 'events/evxfregn.c')
-rw-r--r--events/evxfregn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/events/evxfregn.c b/events/evxfregn.c
index d4f499130a4c..3b60589b71a4 100644
--- a/events/evxfregn.c
+++ b/events/evxfregn.c
@@ -171,7 +171,7 @@ AcpiInstallAddressSpaceHandler (
/* Convert and validate the device handle */
- Node = AcpiNsMapHandleToNode (Device);
+ Node = AcpiNsValidateHandle (Device);
if (!Node)
{
Status = AE_BAD_PARAMETER;
@@ -244,7 +244,7 @@ AcpiRemoveAddressSpaceHandler (
/* Convert and validate the device handle */
- Node = AcpiNsMapHandleToNode (Device);
+ Node = AcpiNsValidateHandle (Device);
if (!Node ||
((Node->Type != ACPI_TYPE_DEVICE) &&
(Node->Type != ACPI_TYPE_PROCESSOR) &&