summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/gpio_banks/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/gpio_banks/gpio.c b/src/soc/amd/common/block/gpio_banks/gpio.c
index 108635a340..7564aa2159 100644
--- a/src/soc/amd/common/block/gpio_banks/gpio.c
+++ b/src/soc/amd/common/block/gpio_banks/gpio.c
@@ -18,7 +18,7 @@
static int get_gpio_gevent(gpio_t gpio, const struct soc_amd_event *table,
size_t items)
{
- int i;
+ size_t i;
for (i = 0; i < items; i++) {
if ((table + i)->gpio == gpio)