diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-10-16 04:29:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:21 -0400 |
commit | 466c449e5feb6007841c100d385aeba7869b9946 (patch) | |
tree | 1708effcfda1e485e63a1ad87825b9049775bf4e | |
parent | 57f70c6067b66b16398010d43d1ee2eba5e56760 (diff) |
ps3av: remove unused ps3av_set_mode()
remove unused ps3av_set_mode()
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/ps3/ps3av.c | 21 | ||||
-rw-r--r-- | include/asm-powerpc/ps3av.h | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/drivers/ps3/ps3av.c b/drivers/ps3/ps3av.c index cae4af9959d3..53179f35264e 100644 --- a/drivers/ps3/ps3av.c +++ b/drivers/ps3/ps3av.c | |||
@@ -903,27 +903,6 @@ int ps3av_get_auto_mode(int boot) | |||
903 | 903 | ||
904 | EXPORT_SYMBOL_GPL(ps3av_get_auto_mode); | 904 | EXPORT_SYMBOL_GPL(ps3av_get_auto_mode); |
905 | 905 | ||
906 | int ps3av_set_mode(u32 id, int boot) | ||
907 | { | ||
908 | int res; | ||
909 | |||
910 | res = ps3av_set_video_mode(id, boot); | ||
911 | if (res) | ||
912 | return res; | ||
913 | |||
914 | res = ps3av_set_audio_mode(PS3AV_CMD_AUDIO_NUM_OF_CH_2, | ||
915 | PS3AV_CMD_AUDIO_FS_48K, | ||
916 | PS3AV_CMD_AUDIO_WORD_BITS_16, | ||
917 | PS3AV_CMD_AUDIO_FORMAT_PCM, | ||
918 | PS3AV_CMD_AUDIO_SOURCE_SERIAL); | ||
919 | if (res) | ||
920 | return res; | ||
921 | |||
922 | return 0; | ||
923 | } | ||
924 | |||
925 | EXPORT_SYMBOL_GPL(ps3av_set_mode); | ||
926 | |||
927 | int ps3av_get_mode(void) | 906 | int ps3av_get_mode(void) |
928 | { | 907 | { |
929 | return ps3av ? ps3av->ps3av_mode : 0; | 908 | return ps3av ? ps3av->ps3av_mode : 0; |
diff --git a/include/asm-powerpc/ps3av.h b/include/asm-powerpc/ps3av.h index 7de59b6b2e7d..556bc72d2af9 100644 --- a/include/asm-powerpc/ps3av.h +++ b/include/asm-powerpc/ps3av.h | |||
@@ -712,7 +712,6 @@ extern int ps3av_cmd_video_get_monitor_info(struct ps3av_pkt_av_get_monitor_info | |||
712 | extern int ps3av_set_video_mode(u32, int); | 712 | extern int ps3av_set_video_mode(u32, int); |
713 | extern int ps3av_set_audio_mode(u32, u32, u32, u32, u32); | 713 | extern int ps3av_set_audio_mode(u32, u32, u32, u32, u32); |
714 | extern int ps3av_get_auto_mode(int); | 714 | extern int ps3av_get_auto_mode(int); |
715 | extern int ps3av_set_mode(u32, int); | ||
716 | extern int ps3av_get_mode(void); | 715 | extern int ps3av_get_mode(void); |
717 | extern int ps3av_get_scanmode(int); | 716 | extern int ps3av_get_scanmode(int); |
718 | extern int ps3av_get_refresh_rate(int); | 717 | extern int ps3av_get_refresh_rate(int); |