From 3373fc4cf4a1eb5f99208906aaa15e4c006af5bd Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 6 Feb 2007 22:52:04 -0200 Subject: Convert to generic boolean-values From: Richard Knutsson Signed-off-by: Richard Knutsson Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/saa5246a.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'linux/drivers/media/video/saa5246a.h') 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 */ /*****************************************************************************/ -- cgit v1.2.3