[media] demux.h: Remove duplicated enum
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 4 Apr 2013 16:25:30 +0000 (13:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Apr 2013 09:53:15 +0000 (06:53 -0300)
commitfde04ab95d43e55959f12b92711b0ca4fed40637
treeba274fcfc76b75d08907fa73b10b0a7a5a328881
parent9ea89e2b62c70f3986c89363818a89c8c11c96c4
[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>
drivers/media/dvb-core/demux.h
drivers/media/dvb-core/dmxdev.c
drivers/media/dvb-core/dvb_demux.c
drivers/media/dvb-core/dvb_demux.h
drivers/media/dvb-core/dvb_net.c
drivers/media/firewire/firedtv-dvb.c
drivers/media/pci/ttpci/av7110.c
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
drivers/media/usb/ttusb-dec/ttusb_dec.c
include/uapi/linux/dvb/dmx.h