aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-26 06:34:21 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-30 07:29:27 -0400
commit97f411d9175f018503e67e7552f92bc28844001b (patch)
tree90a3e0807bfc4752367d6757db9acc09850dc03a /include/uapi/linux
parenta8d3e4b4d9298bdc36934a0b49a7d540d8eaf8f9 (diff)
[media] dvb: split enum from typedefs at frontend.h
Using typedefs is already bad enough, but doing it together with enum declaration is even worse. Also, it breaks the scripts at DocBook that would be generating reference pointers for the enums. Well, we can't get rid of typedef right now, but let's at least declare it on a separate line, and let the scripts to generate the cross-reference, as this is needed for the next DocBook patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/dvb/frontend.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h
index 466f56997272..ae481bc53a9c 100644
--- a/include/uapi/linux/dvb/frontend.h
+++ b/include/uapi/linux/dvb/frontend.h
@@ -36,7 +36,7 @@ typedef enum fe_type {
36} fe_type_t; 36} fe_type_t;
37 37
38 38
39typedef enum fe_caps { 39enum fe_caps {
40 FE_IS_STUPID = 0, 40 FE_IS_STUPID = 0,
41 FE_CAN_INVERSION_AUTO = 0x1, 41 FE_CAN_INVERSION_AUTO = 0x1,
42 FE_CAN_FEC_1_2 = 0x2, 42 FE_CAN_FEC_1_2 = 0x2,
@@ -68,7 +68,9 @@ typedef enum fe_caps {
68 FE_NEEDS_BENDING = 0x20000000, /* not supported anymore, don't use (frontend requires frequency bending) */ 68 FE_NEEDS_BENDING = 0x20000000, /* not supported anymore, don't use (frontend requires frequency bending) */
69 FE_CAN_RECOVER = 0x40000000, /* frontend can recover from a cable unplug automatically */ 69 FE_CAN_RECOVER = 0x40000000, /* frontend can recover from a cable unplug automatically */
70 FE_CAN_MUTE_TS = 0x80000000 /* frontend can stop spurious TS data output */ 70 FE_CAN_MUTE_TS = 0x80000000 /* frontend can stop spurious TS data output */
71} fe_caps_t; 71};
72
73typedef enum fe_caps fe_caps_t;
72 74
73 75
74struct dvb_frontend_info { 76struct dvb_frontend_info {
@@ -134,7 +136,7 @@ typedef enum fe_sec_mini_cmd {
134 * to reset DiSEqC, tone and parameters 136 * to reset DiSEqC, tone and parameters
135 */ 137 */
136 138
137typedef enum fe_status { 139enum fe_status {
138 FE_HAS_SIGNAL = 0x01, 140 FE_HAS_SIGNAL = 0x01,
139 FE_HAS_CARRIER = 0x02, 141 FE_HAS_CARRIER = 0x02,
140 FE_HAS_VITERBI = 0x04, 142 FE_HAS_VITERBI = 0x04,
@@ -142,7 +144,9 @@ typedef enum fe_status {
142 FE_HAS_LOCK = 0x10, 144 FE_HAS_LOCK = 0x10,
143 FE_TIMEDOUT = 0x20, 145 FE_TIMEDOUT = 0x20,
144 FE_REINIT = 0x40, 146 FE_REINIT = 0x40,
145} fe_status_t; 147};
148
149typedef enum fe_status fe_status_t;
146 150
147typedef enum fe_spectral_inversion { 151typedef enum fe_spectral_inversion {
148 INVERSION_OFF, 152 INVERSION_OFF,