mirror of
https://github.com/acpica/acpica/
synced 2025-01-18 15:39:18 +03:00
Use GetAttachedObject instead of directly accessing Node->Object
date 2001.11.07.17.15.00; author rmoore1; state Exp;
This commit is contained in:
parent
ba3436720b
commit
749e9601fe
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: psargs - Parse AML opcode arguments
|
||||
* $Revision: 1.52 $
|
||||
* $Revision: 1.53 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -500,12 +500,12 @@ AcpiPsGetNextNamepath (
|
||||
NameOp->Node = MethodNode;
|
||||
AcpiPsAppendArg (Arg, NameOp);
|
||||
|
||||
if (!MethodNode->Object)
|
||||
if (!AcpiNsGetAttachedObject (MethodNode))
|
||||
{
|
||||
return_VOID;
|
||||
}
|
||||
|
||||
*ArgCount = (MethodNode->Object)->Method.ParamCount;
|
||||
*ArgCount = (AcpiNsGetAttachedObject (MethodNode))->Method.ParamCount;
|
||||
}
|
||||
|
||||
return_VOID;
|
||||
|
Loading…
Reference in New Issue
Block a user