Reorder hardware types & remove verbose comments

Reorder hardware types so that older types comes first roughly. This
would make it more natural to add newer hardware types as they come.
In addition, remove verbose comments where the meaning is obvious from
the name.

Change-Id: I275e9e608c8c2392e3f7ec2c5d81743059f2d36b
This commit is contained in:
Wonsik Kim
2014-07-19 16:01:57 +09:00
parent 842b906dd4
commit 962e9adc2f

View File

@@ -63,14 +63,19 @@ typedef struct tv_input_module {
/*****************************************************************************/
enum {
/* HDMI */
TV_INPUT_TYPE_HDMI = 1,
/* Built-in tuners. */
TV_INPUT_TYPE_BUILT_IN_TUNER = 2,
/* Passthrough */
TV_INPUT_TYPE_PASSTHROUGH = 3,
/* Generic hardware. */
TV_INPUT_TYPE_OTHER_HARDWARE = 1,
/* Tuner. (e.g. built-in terrestrial tuner) */
TV_INPUT_TYPE_TUNER = 2,
TV_INPUT_TYPE_COMPOSITE = 3,
TV_INPUT_TYPE_SVIDEO = 4,
TV_INPUT_TYPE_SCART = 5,
TV_INPUT_TYPE_COMPONENT = 6,
TV_INPUT_TYPE_VGA = 7,
TV_INPUT_TYPE_DVI = 8,
/* Physical HDMI port. (e.g. HDMI 1) */
TV_INPUT_TYPE_HDMI = 9,
TV_INPUT_TYPE_DISPLAY_PORT = 10,
};
typedef uint32_t tv_input_type_t;