From 2617073ee0019e9e26744448026338675b68bee4 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Sat, 12 Sep 2020 01:30:25 +0200 Subject: soc/amd/picasso/uart: make AOAC device ID in uart_enable unsigned This change is separate from CB:45308 to only have the directly UART- related changes in this patch train. BRANCH=zork Change-Id: Ie587fdbd1e6229c1374fce3568c6a361577dc6c4 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/45310 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Furquan Shaikh --- src/soc/amd/picasso/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/amd/picasso/uart.c') diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c index 881bc3e470..2ef1979233 100644 --- a/src/soc/amd/picasso/uart.c +++ b/src/soc/amd/picasso/uart.c @@ -97,7 +97,7 @@ static const char *uart_acpi_name(const struct device *dev) /* Even though this is called enable, it gets called for both enabled and disabled devices. */ static void uart_enable(struct device *dev) { - int dev_id; + unsigned int dev_id; switch (dev->path.mmio.addr) { case APU_UART0_BASE: -- cgit v1.2.3