From dd35e2c8a9ee7e1d9b2442b7059d8f9de6256da5 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 20 Sep 2018 17:33:50 +0200 Subject: mb: Use 'unsigned int' to bare use of 'unsigned' Change-Id: I3a8e077656df02912b4e67c3947bd5af054a18bf Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28701 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/supermicro/h8dmr_fam10/romstage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/supermicro/h8dmr_fam10') diff --git a/src/mainboard/supermicro/h8dmr_fam10/romstage.c b/src/mainboard/supermicro/h8dmr_fam10/romstage.c index c360389e38..d5506dfa42 100644 --- a/src/mainboard/supermicro/h8dmr_fam10/romstage.c +++ b/src/mainboard/supermicro/h8dmr_fam10/romstage.c @@ -53,12 +53,12 @@ #define SUPERIO_DEV PNP_DEV(0x2e, 0) void activate_spd_rom(const struct mem_controller *ctrl); -int spd_read_byte(unsigned device, unsigned address); +int spd_read_byte(unsigned int device, unsigned int address); extern struct sys_info sysinfo_car; void activate_spd_rom(const struct mem_controller *ctrl) { } -inline int spd_read_byte(unsigned device, unsigned address) +inline int spd_read_byte(unsigned int device, unsigned int address) { return smbus_read_byte(device, address); } -- cgit v1.2.3