summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa5246a.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-02-06 22:52:04 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-06 22:52:04 -0200
commit3373fc4cf4a1eb5f99208906aaa15e4c006af5bd (patch)
tree42f7e316269c70880c91b98f38d2c7c4d673031c /linux/drivers/media/video/saa5246a.h
parent6344857b3efe147943968b446b545e21cf3e7e87 (diff)
downloadmediapointer-dvb-s2-3373fc4cf4a1eb5f99208906aaa15e4c006af5bd.tar.gz
mediapointer-dvb-s2-3373fc4cf4a1eb5f99208906aaa15e4c006af5bd.tar.bz2
Convert to generic boolean-values
From: Richard Knutsson <ricknu-0@student.ltu.se> 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 'linux/drivers/media/video/saa5246a.h')
-rw-r--r--linux/drivers/media/video/saa5246a.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/linux/drivers/media/video/saa5246a.h b/linux/drivers/media/video/saa5246a.h
index 7b9111230..64394c036 100644
--- a/linux/drivers/media/video/saa5246a.h
+++ b/linux/drivers/media/video/saa5246a.h
@@ -41,23 +41,18 @@
#define POS_HEADER_START 7
#define POS_HEADER_END 31
-/* Returns TRUE if the part of the videotext page described with req contains
+/* Returns 'true' if the part of the videotext page described with req contains
(at least parts of) the time field */
#define REQ_CONTAINS_TIME(p_req) \
((p_req)->start <= POS_TIME_END && \
(p_req)->end >= POS_TIME_START)
-/* Returns TRUE if the part of the videotext page described with req contains
+/* Returns 'true' if the part of the videotext page described with req contains
(at least parts of) the page header */
#define REQ_CONTAINS_HEADER(p_req) \
((p_req)->start <= POS_HEADER_END && \
(p_req)->end >= POS_HEADER_START)
-#ifndef FALSE
-#define FALSE 0
-#define TRUE 1
-#endif
-
/*****************************************************************************/
/* Mode register numbers of the SAA5246A */
/*****************************************************************************/