aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-07 18:34:50 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-09 16:47:38 -0400
commit6c72edab024757267f43de337f093203efea714b (patch)
tree11db42d0bd6779bb148f37c4a8972bfa3bf3da3a /include/uapi/linux/dvb
parent486ef85e93a4829e8f49d3bfe3ee3a29379868d3 (diff)
[media] dvb: dmx.h: don't use anonymous enums
There are several anonymous enums here, used via a typedef. Well, we don't like typedefs on Kernel, so let's de-anonimize those enums. Then, latter, we may be able to get rid of the typedefs, at least from Kernelspace. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/dvb')
-rw-r--r--include/uapi/linux/dvb/dmx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/dvb/dmx.h b/include/uapi/linux/dvb/dmx.h
index b4fb650d9d4f..ece3661a3cac 100644
--- a/include/uapi/linux/dvb/dmx.h
+++ b/include/uapi/linux/dvb/dmx.h
@@ -32,7 +32,7 @@
32 32
33#define DMX_FILTER_SIZE 16 33#define DMX_FILTER_SIZE 16
34 34
35typedef enum 35typedef enum dmx_output
36{ 36{
37 DMX_OUT_DECODER, /* Streaming directly to decoder. */ 37 DMX_OUT_DECODER, /* Streaming directly to decoder. */
38 DMX_OUT_TAP, /* Output going to a memory buffer */ 38 DMX_OUT_TAP, /* Output going to a memory buffer */
@@ -44,7 +44,7 @@ typedef enum
44} dmx_output_t; 44} dmx_output_t;
45 45
46 46
47typedef enum 47typedef enum dmx_input
48{ 48{
49 DMX_IN_FRONTEND, /* Input from a front-end device. */ 49 DMX_IN_FRONTEND, /* Input from a front-end device. */
50 DMX_IN_DVR /* Input from the logical DVR device. */ 50 DMX_IN_DVR /* Input from the logical DVR device. */
@@ -122,7 +122,7 @@ typedef struct dmx_caps {
122 int num_decoders; 122 int num_decoders;
123} dmx_caps_t; 123} dmx_caps_t;
124 124
125typedef enum { 125typedef enum dmx_source {
126 DMX_SOURCE_FRONT0 = 0, 126 DMX_SOURCE_FRONT0 = 0,
127 DMX_SOURCE_FRONT1, 127 DMX_SOURCE_FRONT1,
128 DMX_SOURCE_FRONT2, 128 DMX_SOURCE_FRONT2,