]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
media: dvb_demux: fix type of dvb_demux_feed.ts_type
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 19 Sep 2017 23:01:09 +0000 (19:01 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 11 Oct 2017 17:12:28 +0000 (13:12 -0400)
Just like pes_type, this field represents an enum. Properly
identify it as such.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb_demux.h

index d9b30d669bf356adacd68508a54e39a3d476422b..c9e94bc3a2e54bf39e1d47c58c370caafc4e10e6 100644 (file)
@@ -95,7 +95,7 @@ struct dvb_demux_feed {
        ktime_t timeout;
        struct dvb_demux_filter *filter;
 
-       int ts_type;
+       enum ts_filter_type ts_type;
        enum dmx_ts_pes pes_type;
 
        int cc;