aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa5246a.h
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-02-06 19:52:04 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:35:16 -0500
commite8be02a34a43c88a7666217b186e169a30f1609b (patch)
tree489cf3bd4a296aeac5ff583bf23045800f667ca9 /drivers/media/video/saa5246a.h
parent7a9ca4a3f99129c2316ee14273ded519630c573d (diff)
V4L/DVB (5197): Convert to generic boolean-values
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa5246a.h')
-rw-r--r--drivers/media/video/saa5246a.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/media/video/saa5246a.h b/drivers/media/video/saa5246a.h
index 7b91112304e0..64394c036c60 100644
--- a/drivers/media/video/saa5246a.h
+++ b/drivers/media/video/saa5246a.h
@@ -41,23 +41,18 @@
41#define POS_HEADER_START 7 41#define POS_HEADER_START 7
42#define POS_HEADER_END 31 42#define POS_HEADER_END 31
43 43
44/* Returns TRUE if the part of the videotext page described with req contains 44/* Returns 'true' if the part of the videotext page described with req contains
45 (at least parts of) the time field */ 45 (at least parts of) the time field */
46#define REQ_CONTAINS_TIME(p_req) \ 46#define REQ_CONTAINS_TIME(p_req) \
47 ((p_req)->start <= POS_TIME_END && \ 47 ((p_req)->start <= POS_TIME_END && \
48 (p_req)->end >= POS_TIME_START) 48 (p_req)->end >= POS_TIME_START)
49 49
50/* Returns TRUE if the part of the videotext page described with req contains 50/* Returns 'true' if the part of the videotext page described with req contains
51 (at least parts of) the page header */ 51 (at least parts of) the page header */
52#define REQ_CONTAINS_HEADER(p_req) \ 52#define REQ_CONTAINS_HEADER(p_req) \
53 ((p_req)->start <= POS_HEADER_END && \ 53 ((p_req)->start <= POS_HEADER_END && \
54 (p_req)->end >= POS_HEADER_START) 54 (p_req)->end >= POS_HEADER_START)
55 55
56#ifndef FALSE
57#define FALSE 0
58#define TRUE 1
59#endif
60
61/*****************************************************************************/ 56/*****************************************************************************/
62/* Mode register numbers of the SAA5246A */ 57/* Mode register numbers of the SAA5246A */
63/*****************************************************************************/ 58/*****************************************************************************/