diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-01 06:09:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-05 05:49:45 -0400 |
commit | 3256b36ea36525945d8575c0100752819a309aaa (patch) | |
tree | dbc64c98a67c07a242b412db4d4dc5d9e76d7ffe /drivers/media/dvb-core/dmxdev.c | |
parent | c93022a72f01f8e53d6e1bc2a8d2c2824c2f36bc (diff) |
media: dmx.h: split typedefs from structs
Using typedefs inside the Kernel is against CodingStyle, and
there's no good usage here.
Just like we did at frontend.h, at commit 0df289a209e0
("[media] dvb: Get rid of typedev usage for enums"), let's keep
those typedefs only to provide userspace backward compatibility.
No functional changes.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dmxdev.c')
-rw-r--r-- | drivers/media/dvb-core/dmxdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-core/dmxdev.c b/drivers/media/dvb-core/dmxdev.c index 45e91add73ba..16b0b74c3114 100644 --- a/drivers/media/dvb-core/dmxdev.c +++ b/drivers/media/dvb-core/dmxdev.c | |||
@@ -562,7 +562,7 @@ static int dvb_dmxdev_start_feed(struct dmxdev *dmxdev, | |||
562 | { | 562 | { |
563 | ktime_t timeout = 0; | 563 | ktime_t timeout = 0; |
564 | struct dmx_pes_filter_params *para = &filter->params.pes; | 564 | struct dmx_pes_filter_params *para = &filter->params.pes; |
565 | dmx_output_t otype; | 565 | enum dmx_output otype; |
566 | int ret; | 566 | int ret; |
567 | int ts_type; | 567 | int ts_type; |
568 | enum dmx_ts_pes ts_pes; | 568 | enum dmx_ts_pes ts_pes; |
@@ -787,7 +787,7 @@ static int dvb_dmxdev_filter_free(struct dmxdev *dmxdev, | |||
787 | return 0; | 787 | return 0; |
788 | } | 788 | } |
789 | 789 | ||
790 | static inline void invert_mode(dmx_filter_t *filter) | 790 | static inline void invert_mode(struct dmx_filter *filter) |
791 | { | 791 | { |
792 | int i; | 792 | int i; |
793 | 793 | ||