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 <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41530
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Patrick Georgi 2020-05-19 10:04:10 +02:00
parent 736024afdb
commit 030037d3e9
1 changed files with 2 additions and 0 deletions

View File

@ -358,6 +358,8 @@ Device (ECP)
#define SUPERIO_UART_LDN W83977TF_SP2 #define SUPERIO_UART_LDN W83977TF_SP2
#define SUPERIO_UART_PM_REG UBPW #define SUPERIO_UART_PM_REG UBPW
#include <superio/acpi/pnp_uart.asl> #include <superio/acpi/pnp_uart.asl>
#undef SUPERIO_UART_LDN
#undef SUPERIO_UART_PM_REG
#endif #endif
/* /*