From e086b5cf81fe68ac13e2cba431a03baee2917526 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Wed, 30 Jan 2008 00:46:41 +0000 Subject: [PATCH] V3 compilation errors: Fix spd_read_byte prototype. Signed-off-by: Marc Jones Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/coreboot-v3@567 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- southbridge/amd/cs5536/smbus_initram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/southbridge/amd/cs5536/smbus_initram.c b/southbridge/amd/cs5536/smbus_initram.c index 8e65325585..e462c14b30 100644 --- a/southbridge/amd/cs5536/smbus_initram.c +++ b/southbridge/amd/cs5536/smbus_initram.c @@ -343,7 +343,7 @@ int smbus_read_byte(u16 device, u8 address) * @param address The address. * @return The data from the SMBus packet area or an error of 0xff (i.e. -1). */ -int spd_read_byte(u16 device, u8 address) +u8 spd_read_byte(u16 device, u8 address) { return smbus_read_byte(device, address); }