superio/winbond/w83977tf: Fix iasl warning
The common PnP serial port DSDT code is intentionally included twice for two serial ports with different LDNs. Undefine LDN and the PM register name before redefining for second serial port so iasl doesn't complain. Change-Id: I031905479c66698fb01da028e3f37d923396d2d9 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41095 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
14ea2fc90c
commit
5f0e8d8462
|
@ -350,6 +350,8 @@ Device (ECP)
|
|||
#define SUPERIO_UART_LDN W83977TF_SP1
|
||||
#define SUPERIO_UART_PM_REG UAPW
|
||||
#include <superio/acpi/pnp_uart.asl>
|
||||
#undef SUPERIO_UART_LDN
|
||||
#undef SUPERIO_UART_PM_REG
|
||||
#endif
|
||||
|
||||
#ifdef SUPERIO_SHOW_UARTB
|
||||
|
|
Loading…
Reference in New Issue