From 030037d3e92bd11a7a5062fb024fdbae9aa68622 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 19 May 2020 10:04:10 +0200 Subject: [PATCH] superio/winbond/w83977tf: Scope UART configuration defines more locally By undefining the configuration after use we're sure that nobody else comes to depend on it without us noticing. Change-Id: I7c5cfd58be643d6431989fc69cf3b397920590b9 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/41530 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/superio/winbond/w83977tf/acpi/superio.asl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl index 6e37a5bbc1..bd085e10cd 100644 --- a/src/superio/winbond/w83977tf/acpi/superio.asl +++ b/src/superio/winbond/w83977tf/acpi/superio.asl @@ -358,6 +358,8 @@ Device (ECP) #define SUPERIO_UART_LDN W83977TF_SP2 #define SUPERIO_UART_PM_REG UBPW #include + #undef SUPERIO_UART_LDN + #undef SUPERIO_UART_PM_REG #endif /*