diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-06 07:24:32 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:53:58 -0400 |
commit | aa40d194975e23ba7a55936c7b5dae4e964461b5 (patch) | |
tree | b296a98d65a554ce546a91c05eef9c12dde4e8dc /drivers/media/common | |
parent | e83dd485ed04b21215c1283042e8d4712ab1a675 (diff) |
[media] tuner-xc2028.c: fix compile warning
drivers/media/common/tuners/tuner-xc2028.c: In function 'generic_set_freq':
drivers/media/common/tuners/tuner-xc2028.c:936:15: warning: comparison between 'enum tuner_mode' and 'enum v4l2_tuner_type'
Argument type was enum tuner_mode, but should have been enum v4l2_tuner_type.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c index efcbc3ed0aea..16fba6b59616 100644 --- a/drivers/media/common/tuners/tuner-xc2028.c +++ b/drivers/media/common/tuners/tuner-xc2028.c | |||
@@ -907,7 +907,7 @@ ret: | |||
907 | #define DIV 15625 | 907 | #define DIV 15625 |
908 | 908 | ||
909 | static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */, | 909 | static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */, |
910 | enum tuner_mode new_mode, | 910 | enum v4l2_tuner_type new_type, |
911 | unsigned int type, | 911 | unsigned int type, |
912 | v4l2_std_id std, | 912 | v4l2_std_id std, |
913 | u16 int_freq) | 913 | u16 int_freq) |
@@ -933,7 +933,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */, | |||
933 | * that xc2028 will be in a safe state. | 933 | * that xc2028 will be in a safe state. |
934 | * Maybe this might also be needed for DTV. | 934 | * Maybe this might also be needed for DTV. |
935 | */ | 935 | */ |
936 | if (new_mode == V4L2_TUNER_ANALOG_TV) { | 936 | if (new_type == V4L2_TUNER_ANALOG_TV) { |
937 | rc = send_seq(priv, {0x00, 0x00}); | 937 | rc = send_seq(priv, {0x00, 0x00}); |
938 | 938 | ||
939 | /* Analog modes require offset = 0 */ | 939 | /* Analog modes require offset = 0 */ |