From 9df60d36b2637c500030e7c9cef620002f7f47bf Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 09:43:07 +0100 Subject: tree/acpi: Replace constant "Zero" with actual number Change-Id: I5a3e3506415f424bf0fdd48fc449520a76622af5 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71525 Reviewed-by: Subrata Banik Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/soc/amd/common/acpi/dptc.asl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/soc/amd/common/acpi') diff --git a/src/soc/amd/common/acpi/dptc.asl b/src/soc/amd/common/acpi/dptc.asl index aa70050ff3..84238d99a8 100644 --- a/src/soc/amd/common/acpi/dptc.asl +++ b/src/soc/amd/common/acpi/dptc.asl @@ -11,7 +11,7 @@ Scope (\_SB) /* If _SB.DDEF is not present, DPTC is not enabled so return early. */ If (!CondRefOf (\_SB.DDEF)) { - Return (Zero) + Return (0) } /* If _SB.DTHL is not present, then DPTC Tablet Mode is not enabled. @@ -21,14 +21,14 @@ Scope (\_SB) (!\_SB.PCI0.LPCB.EC0.BTEX || \_SB.PCI0.LPCB.EC0.BFCR || \_SB.PCI0.LPCB.EC0.BFCT)) { \_SB.DTHL() - Return (Zero) + Return (0) } /* If _SB.DTAB is not present, then DPTC Tablet Mode is not enabled. */ If (CondRefOf (\_SB.DTAB) && (\_SB.PCI0.LPCB.EC0.TBMD == 1)) { \_SB.DTAB() - Return (Zero) + Return (0) } #if CONFIG(FEATURE_DYNAMIC_DPTC) @@ -36,6 +36,6 @@ Scope (\_SB) #else \_SB.DDEF() #endif - Return (Zero) + Return (0) } } -- cgit v1.2.3