Skip to content

Commit 6c72eda

Browse files
committed
[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>
1 parent 486ef85 commit 6c72eda

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • include/uapi/linux/dvb

‎include/uapi/linux/dvb/dmx.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#define DMX_FILTER_SIZE 16
3434

35-
typedef enum
35+
typedef enum dmx_output
3636
{
3737
DMX_OUT_DECODER, /* Streaming directly to decoder. */
3838
DMX_OUT_TAP, /* Output going to a memory buffer */
@@ -44,7 +44,7 @@ typedef enum
4444
} dmx_output_t;
4545

4646

47-
typedef enum
47+
typedef enum dmx_input
4848
{
4949
DMX_IN_FRONTEND, /* Input from a front-end device. */
5050
DMX_IN_DVR /* Input from the logical DVR device. */
@@ -122,7 +122,7 @@ typedef struct dmx_caps {
122122
int num_decoders;
123123
} dmx_caps_t;
124124

125-
typedef enum {
125+
typedef enum dmx_source {
126126
DMX_SOURCE_FRONT0 = 0,
127127
DMX_SOURCE_FRONT1,
128128
DMX_SOURCE_FRONT2,

0 commit comments

Comments
 (0)