diff options
author | Steven Toth <stoth@kernellabs.com> | 2009-05-09 20:30:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:14:47 -0400 |
commit | 207b42c492cc335806957c139381eb260a808837 (patch) | |
tree | 341dbc4033f8e743664195d12c92b210ab00e672 /drivers/media/video/saa7164/saa7164.h | |
parent | 443c1228d50518f3c550e1fef490a2c9d9246ce7 (diff) |
V4L/DVB (12924): SAA7164: Fix some 32/64bit compile time warnings
SAA7164: Fix some 32/64bit compile time warnings
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164.h')
-rw-r--r-- | drivers/media/video/saa7164/saa7164.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/video/saa7164/saa7164.h b/drivers/media/video/saa7164/saa7164.h index ed38118ffde5..338804f6cd57 100644 --- a/drivers/media/video/saa7164/saa7164.h +++ b/drivers/media/video/saa7164/saa7164.h | |||
@@ -390,11 +390,8 @@ extern unsigned int debug; | |||
390 | } while (0) | 390 | } while (0) |
391 | 391 | ||
392 | #define saa7164_readl(reg) readl(dev->lmmio + ((reg) >> 2)) | 392 | #define saa7164_readl(reg) readl(dev->lmmio + ((reg) >> 2)) |
393 | #define saa7164_writel(reg, value) \ | 393 | #define saa7164_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2)) |
394 | do { \ | 394 | |
395 | printk(KERN_ERR "writel(%x, %llx)\n", value, (u64)(dev->lmmio + ((reg) >> 2))); \ | ||
396 | writel((value), dev->lmmio + ((reg) >> 2)); \ | ||
397 | } while (0) | ||
398 | 395 | ||
399 | #define saa7164_readb(reg) readl(dev->bmmio + (reg)) | 396 | #define saa7164_readb(reg) readl(dev->bmmio + (reg)) |
400 | #define saa7164_writeb(reg, value) writel((value), dev->bmmio + (reg)) | 397 | #define saa7164_writeb(reg, value) writel((value), dev->bmmio + (reg)) |