Commit better SPARC32 fix for obp_devclose().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@852 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-08-11 20:59:18 +00:00
committed by Mark Cave-Ayland
parent 287779605b
commit 0d2c29f1ef

View File

@@ -279,11 +279,10 @@ static int obp_devopen(char *str)
static int obp_devclose(int dev_desc)
{
int ret;
int ret = 1;
PUSH(dev_desc);
fword("close-dev");
ret = POP();
DPRINTF("obp_devclose(0x%x) = %d\n", dev_desc, ret);