aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ps3/ps3av.c
diff options
context:
space:
mode:
authorMasashi Kimoto <Masashi_Kimoto@hq.scei.sony.co.jp>2007-05-02 08:48:36 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-04 20:59:08 -0400
commit640729014e073e6e2de1f513b2856b81aa7d84e9 (patch)
tree218002daa9c062311b40d0f1110f029ca8d89e48 /drivers/ps3/ps3av.c
parentfffe52e86b4ad5f8bdcb284c4ea6c87402967f3d (diff)
ps3: Make `ps3videomode -v 0 (auto mode) work again
ps3: Make `ps3videomode -v 0' (auto mode) work again Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ps3/ps3av.c')
-rw-r--r--drivers/ps3/ps3av.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ps3/ps3av.c b/drivers/ps3/ps3av.c
index 1a56d390fcd9..5a418b1b1659 100644
--- a/drivers/ps3/ps3av.c
+++ b/drivers/ps3/ps3av.c
@@ -744,6 +744,13 @@ int ps3av_set_video_mode(u32 id, int boot)
744 744
745EXPORT_SYMBOL_GPL(ps3av_set_video_mode); 745EXPORT_SYMBOL_GPL(ps3av_set_video_mode);
746 746
747int ps3av_get_auto_mode(int boot)
748{
749 return ps3av_auto_videomode(&ps3av.av_hw_conf, boot);
750}
751
752EXPORT_SYMBOL_GPL(ps3av_get_auto_mode);
753
747int ps3av_set_mode(u32 id, int boot) 754int ps3av_set_mode(u32 id, int boot)
748{ 755{
749 int res; 756 int res;