[POWERPC] ps3: always make sure we're running on a PS3
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Thu, 22 Feb 2007 15:43:12 +0000 (16:43 +0100)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Mar 2007 04:03:23 +0000 (15:03 +1100)
Add missing checks to PS3 specific drivers ps3av and sys-manager to verify that
we are actually running on a PS3 (pointed out by Arnd).

Correct existing checks in other subsystems/drivers to return -ENODEV instead
of zero.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found