powerpc/ps3: Make ps3av_set_video_mode mode ID signed
authorroel kluin <roel.kluin@gmail.com>
Tue, 3 Mar 2009 08:33:07 +0000 (08:33 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Mar 2009 06:10:17 +0000 (17:10 +1100)
commite7eec2fc27d7dbefd5852c36b3fe6229e6302c99
treeab107ad4b5c3ddf438283567694f2a9089c2b8ef
parent9146cfc82c082e5c88007e7779b02b7bcade0cf0
powerpc/ps3: Make ps3av_set_video_mode mode ID signed

Change the ps3av_auto_videomode() mode id argument type from unsigned to
signed so a negative id can be detected and reported as an -EINVAL failure.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ps3av.h
drivers/ps3/ps3av.c