sb/intel/i82371eb/acpi: Replace Decrement() with ASL 2.0 syntax

Replace `Decrement (a)` with `a--`.

Change-Id: Iae59333a910cc913bb28ed5436c124b2ab282435
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60587
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2021-12-31 14:09:48 +01:00
parent e15e64054c
commit 40bc82fcde
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ Device(intx) { \
/* Use lowest available IRQ */ \ /* Use lowest available IRQ */ \
FindSetRightBit(IRQM, Local0) \ FindSetRightBit(IRQM, Local0) \
if (Local0) { \ if (Local0) { \
Decrement(Local0) \ Local0-- \
} \ } \
Store(Local0, pinx) \ Store(Local0, pinx) \
} \ } \

View File

@ -50,7 +50,7 @@ Device(intx) { \
/* Use lowest available IRQ */ \ /* Use lowest available IRQ */ \
FindSetRightBit(IRQM, Local0) \ FindSetRightBit(IRQM, Local0) \
if (Local0) { \ if (Local0) { \
Decrement(Local0) \ Local0-- \
} \ } \
Store(Local0, pinx) \ Store(Local0, pinx) \
} \ } \