diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-23 14:52:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:24 -0400 |
commit | 0ccac4af1a8f22e2e96d89b9bf8766dc7286a972 (patch) | |
tree | b9ad80d1c0dcb78a4655a9524c98e1a750f69b7d /include/media/cx2341x.h | |
parent | 45ad9f8b44b06bf1e91b4b3c338406c2233f0482 (diff) |
V4L/DVB (4203): Explicitly set the enum values.
It's better to use explicit enums. It reduces the chance of someone
inserting new enums in the middle which would break things.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/cx2341x.h')
-rw-r--r-- | include/media/cx2341x.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/media/cx2341x.h b/include/media/cx2341x.h index fb170d4b5235..51fb06b4c394 100644 --- a/include/media/cx2341x.h +++ b/include/media/cx2341x.h | |||
@@ -20,9 +20,9 @@ | |||
20 | #define CX2341X_H | 20 | #define CX2341X_H |
21 | 21 | ||
22 | enum cx2341x_port { | 22 | enum cx2341x_port { |
23 | CX2341X_PORT_MEMORY, | 23 | CX2341X_PORT_MEMORY = 0, |
24 | CX2341X_PORT_STREAMING, | 24 | CX2341X_PORT_STREAMING = 1, |
25 | CX2341X_PORT_SERIAL | 25 | CX2341X_PORT_SERIAL = 2 |
26 | }; | 26 | }; |
27 | 27 | ||
28 | struct cx2341x_mpeg_params { | 28 | struct cx2341x_mpeg_params { |