Use GetAttachedObject instead of directly accessing Node->Object

date	2001.11.07.17.15.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:01:12 +00:00
parent ba3436720b
commit 749e9601fe

View File

@ -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;