diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-27 09:41:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:17:13 -0500 |
commit | 9ae2ae35f8a8a13997b9ec719ae7c151a2182e80 (patch) | |
tree | 2bdb82e58f722aa608ce851ad4e032c9d83f1678 /drivers | |
parent | 1035758d5bdcd6c2f7308a35185f1d6f3b6b5443 (diff) |
[media] dmxdev: Fix a compilation warning due to a bad type
drivers/media/dvb/dvb-core/dmxdev.c: In function ‘dvb_dmxdev_start_feed’:
drivers/media/dvb/dvb-core/dmxdev.c:583:13: warning: comparison between ‘enum dmx_ts_pes’ and ‘enum <anonymous>’
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/dvb-core/dmxdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-core/dmxdev.c b/drivers/media/dvb/dvb-core/dmxdev.c index ad1f61d301e1..e4b5c03ae516 100644 --- a/drivers/media/dvb/dvb-core/dmxdev.c +++ b/drivers/media/dvb/dvb-core/dmxdev.c | |||
@@ -572,13 +572,13 @@ static int dvb_dmxdev_start_feed(struct dmxdev *dmxdev, | |||
572 | dmx_output_t otype; | 572 | dmx_output_t otype; |
573 | int ret; | 573 | int ret; |
574 | int ts_type; | 574 | int ts_type; |
575 | enum dmx_ts_pes ts_pes; | 575 | dmx_pes_type_t ts_pes; |
576 | struct dmx_ts_feed *tsfeed; | 576 | struct dmx_ts_feed *tsfeed; |
577 | 577 | ||
578 | feed->ts = NULL; | 578 | feed->ts = NULL; |
579 | otype = para->output; | 579 | otype = para->output; |
580 | 580 | ||
581 | ts_pes = (enum dmx_ts_pes)para->pes_type; | 581 | ts_pes = para->pes_type; |
582 | 582 | ||
583 | if (ts_pes < DMX_PES_OTHER) | 583 | if (ts_pes < DMX_PES_OTHER) |
584 | ts_type = TS_DECODER; | 584 | ts_type = TS_DECODER; |