Workaround for unused variable warning.
Change-Id: I0a0c925509027f98f724d0a4347146f21ac06c02 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: https://review.coreboot.org/13624 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
bb7dbcdf30
commit
b27c24f69b
|
@ -270,6 +270,8 @@ Device (EC0)
|
||||||
|
|
||||||
// Force a read of CPU temperature
|
// Force a read of CPU temperature
|
||||||
Store (CTML, Local0)
|
Store (CTML, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -568,6 +568,9 @@ Device (EC0)
|
||||||
// Force a read of CPU temperature
|
// Force a read of CPU temperature
|
||||||
// TODO Which temperature corresponds to the CPU?
|
// TODO Which temperature corresponds to the CPU?
|
||||||
Store (TMP0, Local0)
|
Store (TMP0, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Attention Codes
|
/* Attention Codes
|
||||||
|
|
|
@ -81,6 +81,8 @@ Device (EC0)
|
||||||
|
|
||||||
// Force a read of CPU temperature
|
// Force a read of CPU temperature
|
||||||
Store (CPUT, Local0)
|
Store (CPUT, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
}
|
}
|
||||||
|
|
||||||
PowerResource (FNP0, 0, 0)
|
PowerResource (FNP0, 0, 0)
|
||||||
|
|
|
@ -20,5 +20,7 @@ Scope (\_GPE)
|
||||||
{
|
{
|
||||||
/* Read EC register to clear wake status */
|
/* Read EC register to clear wake status */
|
||||||
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,5 +21,7 @@ Scope (\_GPE)
|
||||||
{
|
{
|
||||||
/* Read EC register to clear wake status */
|
/* Read EC register to clear wake status */
|
||||||
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,5 +20,7 @@ Scope (\_GPE)
|
||||||
{
|
{
|
||||||
/* Read EC register to clear wake status */
|
/* Read EC register to clear wake status */
|
||||||
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,5 +21,7 @@ Scope (\_GPE)
|
||||||
{
|
{
|
||||||
/* Read EC register to clear wake status */
|
/* Read EC register to clear wake status */
|
||||||
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,5 +21,7 @@ Scope (\_GPE)
|
||||||
{
|
{
|
||||||
/* Read EC register to clear wake status */
|
/* Read EC register to clear wake status */
|
||||||
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
|
||||||
|
/* So that we don't get a warning that Local0 is unused. */
|
||||||
|
Increment (Local0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue