]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite811b2481870b9cd78e5e2fb520c96f082151384
tree0cbc94fe9c15f9a17a37895ddd525926d1bf3c46
parent200463f466ac7333286b541255fc4b05009c9cb5
[POWERPC] ps3: always make sure we're running on a PS3

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>
arch/powerpc/platforms/ps3/mm.c
arch/powerpc/platforms/ps3/system-bus.c
drivers/ps3/ps3av.c
drivers/ps3/sys-manager.c
drivers/ps3/vuart.c