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.
Showing the changes to include/uapi/linux/dvb (1 of 1 file). Show all
Unified · Split
| @@ -32,7 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | |
| 33 | 33 | #define DMX_FILTER_SIZE 16 |
| 34 | 34 | |
| 35 | −typedef enum | |
| 35 | +typedef enum dmx_output | |
| 36 | 36 | { |
| 37 | 37 | DMX_OUT_DECODER, /* Streaming directly to decoder. */ |
| 38 | 38 | DMX_OUT_TAP, /* Output going to a memory buffer */ |
| @@ -44,7 +44,7 @@ typedef enum · 5 unmodified lines | ||
| 44 | 44 | } dmx_output_t; |
| 45 | 45 | |
| 46 | 46 | |
| 47 | −typedef enum | |
| 47 | +typedef enum dmx_input | |
| 48 | 48 | { |
| 49 | 49 | DMX_IN_FRONTEND, /* Input from a front-end device. */ |
| 50 | 50 | DMX_IN_DVR /* Input from the logical DVR device. */ |
| @@ -122,7 +122,7 @@ typedef struct dmx_caps { · 71 unmodified lines | ||
| 122 | 122 | int num_decoders; |
| 123 | 123 | } dmx_caps_t; |
| 124 | 124 | |
| 125 | −typedef enum { | |
| 125 | +typedef enum dmx_source { | |
| 126 | 126 | DMX_SOURCE_FRONT0 = 0, |
| 127 | 127 | DMX_SOURCE_FRONT1, |
| 128 | 128 | DMX_SOURCE_FRONT2, |