summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/southbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/southbridge.c')
-rw-r--r--src/soc/amd/stoneyridge/southbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c
index 92a1defb94..ebda770be2 100644
--- a/src/soc/amd/stoneyridge/southbridge.c
+++ b/src/soc/amd/stoneyridge/southbridge.c
@@ -53,7 +53,7 @@ void pm_write16(u8 reg, u16 value)
write16((void *)(PM_MMIO_BASE + reg), value);
}
-u16 pm_read16(u16 reg)
+u16 pm_read16(u8 reg)
{
return read16((void *)(PM_MMIO_BASE + reg));
}