summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/picasso/uart.c2
1 files changed, 1 insertions, 1 deletions
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: