summaryrefslogtreecommitdiff
path: root/events/evxfevnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'events/evxfevnt.c')
-rw-r--r--events/evxfevnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/events/evxfevnt.c b/events/evxfevnt.c
index bc24f18c51e2..27066a399468 100644
--- a/events/evxfevnt.c
+++ b/events/evxfevnt.c
@@ -805,7 +805,7 @@ AcpiInstallGpeBlock (
return (Status);
}
- Node = AcpiNsMapHandleToNode (GpeDevice);
+ Node = AcpiNsValidateHandle (GpeDevice);
if (!Node)
{
Status = AE_BAD_PARAMETER;
@@ -905,7 +905,7 @@ AcpiRemoveGpeBlock (
return (Status);
}
- Node = AcpiNsMapHandleToNode (GpeDevice);
+ Node = AcpiNsValidateHandle (GpeDevice);
if (!Node)
{
Status = AE_BAD_PARAMETER;