Commit 6c72edab authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 486ef85e
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define DMX_FILTER_SIZE 16 #define DMX_FILTER_SIZE 16
typedef enum typedef enum dmx_output
{ {
DMX_OUT_DECODER, /* Streaming directly to decoder. */ DMX_OUT_DECODER, /* Streaming directly to decoder. */
DMX_OUT_TAP, /* Output going to a memory buffer */ DMX_OUT_TAP, /* Output going to a memory buffer */
...@@ -44,7 +44,7 @@ typedef enum ...@@ -44,7 +44,7 @@ typedef enum
} dmx_output_t; } dmx_output_t;
typedef enum typedef enum dmx_input
{ {
DMX_IN_FRONTEND, /* Input from a front-end device. */ DMX_IN_FRONTEND, /* Input from a front-end device. */
DMX_IN_DVR /* Input from the logical DVR device. */ DMX_IN_DVR /* Input from the logical DVR device. */
...@@ -122,7 +122,7 @@ typedef struct dmx_caps { ...@@ -122,7 +122,7 @@ typedef struct dmx_caps {
int num_decoders; int num_decoders;
} dmx_caps_t; } dmx_caps_t;
typedef enum { typedef enum dmx_source {
DMX_SOURCE_FRONT0 = 0, DMX_SOURCE_FRONT0 = 0,
DMX_SOURCE_FRONT1, DMX_SOURCE_FRONT1,
DMX_SOURCE_FRONT2, DMX_SOURCE_FRONT2,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment