diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-04 12:25:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-08 05:53:15 -0400 |
commit | fde04ab95d43e55959f12b92711b0ca4fed40637 (patch) | |
tree | ba274fcfc76b75d08907fa73b10b0a7a5a328881 /include | |
parent | 9ea89e2b62c70f3986c89363818a89c8c11c96c4 (diff) |
[media] demux.h: Remove duplicated enum
"enum dmx_ts_pes" and "typedef enum dmx_pes_type_t" are just the
same enum declared twice, since Kernel (2.6.12). There's no reason
to duplicate it there, and sparse complains about that:
drivers/media/dvb-core/dmxdev.c:600:55: warning: mixing different enum types
So, remove the internal define, keeping just the external one.
Internally, use only "enum dmx_ts_pes", as it is too late to drop
dmx_pes_type_t from the userspace API.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/dvb/dmx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/dvb/dmx.h b/include/uapi/linux/dvb/dmx.h index b2a9ad8cafdc..b4fb650d9d4f 100644 --- a/include/uapi/linux/dvb/dmx.h +++ b/include/uapi/linux/dvb/dmx.h | |||
@@ -51,7 +51,7 @@ typedef enum | |||
51 | } dmx_input_t; | 51 | } dmx_input_t; |
52 | 52 | ||
53 | 53 | ||
54 | typedef enum | 54 | typedef enum dmx_ts_pes |
55 | { | 55 | { |
56 | DMX_PES_AUDIO0, | 56 | DMX_PES_AUDIO0, |
57 | DMX_PES_VIDEO0, | 57 | DMX_PES_VIDEO0, |