From 78d338ccb9ca9d03e516c27beb3724be38d38ecf Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 21 Sep 2018 11:42:09 +0200 Subject: sb/amd: Use 'unsigned int' to bare use of 'unsigned' Change-Id: I05f9ea97ea80ac7a8f34845c59bd66e424ba2991 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28709 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/southbridge/amd/cs5536/cs5536.h | 2 +- src/southbridge/amd/cs5536/early_smbus.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/southbridge/amd/cs5536') diff --git a/src/southbridge/amd/cs5536/cs5536.h b/src/southbridge/amd/cs5536/cs5536.h index 4083f4f4eb..06c504a1aa 100644 --- a/src/southbridge/amd/cs5536/cs5536.h +++ b/src/southbridge/amd/cs5536/cs5536.h @@ -445,7 +445,7 @@ void cs5536_disable_internal_uart(void); void cs5536_early_setup(void); void cs5536_enable_smbus(void); -int smbus_read_byte(unsigned device, unsigned address); +int smbus_read_byte(unsigned int device, unsigned int address); #else void chipsetinit(void); #endif diff --git a/src/southbridge/amd/cs5536/early_smbus.c b/src/southbridge/amd/cs5536/early_smbus.c index ed2b9429b4..a1cf50bb15 100644 --- a/src/southbridge/amd/cs5536/early_smbus.c +++ b/src/southbridge/amd/cs5536/early_smbus.c @@ -33,7 +33,7 @@ void cs5536_enable_smbus(void) } -int smbus_read_byte(unsigned device, unsigned address) +int smbus_read_byte(unsigned int device, unsigned int address) { return do_smbus_read_byte(SMBUS_IO_BASE, device, address); } -- cgit v1.2.3