From 7cf52c979f784573ad9d9e18207e04afb542945b Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Wed, 1 Oct 2003 22:25:36 +0000 Subject: fixes for epia. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1172 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/via/epia/auto.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mainboard') diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c index fe999b0608..c11f57297f 100644 --- a/src/mainboard/via/epia/auto.c +++ b/src/mainboard/via/epia/auto.c @@ -40,7 +40,9 @@ static void memreset(int controllers, const struct mem_controller *ctrl) */ static inline int spd_read_byte(unsigned device, unsigned address) { - return smbus_read_byte(device, address); + unsigned char c; + c = smbus_read_byte(device, address); + return c; } -- cgit v1.2.3