[POWERPC] ps3: Fix no storage devices found
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Tue, 14 Aug 2007 16:30:13 +0000 (02:30 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 15 Aug 2007 05:12:50 +0000 (15:12 +1000)
commit2de69124e86682c3427adb4136e097854841e467
tree929040491013278a31a598a57a4b6e384d28a1cc
parent55a910a81d0c3014abc20b9efa73c595b3e68339
[POWERPC] ps3: Fix no storage devices found

Fix probing of PS3 storage devices: in the success case, we should set
`error' to zero, not `result'.

Without this patch no storage devices are found.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/device-init.c