aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa5246a.c
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.c
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.c')
-rw-r--r--drivers/media/video/saa5246a.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/saa5246a.c b/drivers/media/video/saa5246a.c
index 76f5f5d49dae..e20aa3612a7c 100644
--- a/drivers/media/video/saa5246a.c
+++ b/drivers/media/video/saa5246a.c
@@ -111,7 +111,7 @@ static int saa5246a_attach(struct i2c_adapter *adap, int addr, int kind)
111 for (pgbuf = 0; pgbuf < NUM_DAUS; pgbuf++) 111 for (pgbuf = 0; pgbuf < NUM_DAUS; pgbuf++)
112 { 112 {
113 memset(t->pgbuf[pgbuf], ' ', sizeof(t->pgbuf[0])); 113 memset(t->pgbuf[pgbuf], ' ', sizeof(t->pgbuf[0]));
114 t->is_searching[pgbuf] = FALSE; 114 t->is_searching[pgbuf] = false;
115 } 115 }
116 vd->priv=t; 116 vd->priv=t;
117 117
@@ -198,7 +198,7 @@ static int i2c_senddata(struct saa5246a_device *t, ...)
198 198
199/* Get count number of bytes from I²C-device at address adr, store them in buf. 199/* Get count number of bytes from I²C-device at address adr, store them in buf.
200 * Start & stop handshaking is done by this routine, ack will be sent after the 200 * Start & stop handshaking is done by this routine, ack will be sent after the
201 * last byte to inhibit further sending of data. If uaccess is TRUE, data is 201 * last byte to inhibit further sending of data. If uaccess is 'true', data is
202 * written to user-space with put_user. Returns -1 if I²C-device didn't send 202 * written to user-space with put_user. Returns -1 if I²C-device didn't send
203 * acknowledge, 0 otherwise 203 * acknowledge, 0 otherwise
204 */ 204 */
@@ -338,7 +338,7 @@ static int saa5246a_request_page(struct saa5246a_device *t,
338 return -EIO; 338 return -EIO;
339 } 339 }
340 340
341 t->is_searching[req->pgbuf] = TRUE; 341 t->is_searching[req->pgbuf] = true;
342 return 0; 342 return 0;
343} 343}
344 344
@@ -452,7 +452,7 @@ static inline int saa5246a_get_status(struct saa5246a_device *t,
452 } 452 }
453 } 453 }
454 if (!info->hamming && !info->notfound) 454 if (!info->hamming && !info->notfound)
455 t->is_searching[dau_no] = FALSE; 455 t->is_searching[dau_no] = false;
456 return 0; 456 return 0;
457} 457}
458 458
@@ -564,7 +564,7 @@ static inline int saa5246a_stop_dau(struct saa5246a_device *t,
564 { 564 {
565 return -EIO; 565 return -EIO;
566 } 566 }
567 t->is_searching[dau_no] = FALSE; 567 t->is_searching[dau_no] = false;
568 return 0; 568 return 0;
569} 569}
570 570