summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-10-18 08:00:26 -0400
committerAndy Walls <awalls@radix.net>2008-10-18 08:00:26 -0400
commit1683669016ee3471754c212841fe20c3f91ce9c2 (patch)
tree685c1b677e33f06fdb5304c085ac3abe144d5d70 /linux/drivers/media/video
parent7610bcd8a954afb71a5d0aa514e57458296cd513 (diff)
downloadmediapointer-dvb-s2-1683669016ee3471754c212841fe20c3f91ce9c2.tar.gz
mediapointer-dvb-s2-1683669016ee3471754c212841fe20c3f91ce9c2.tar.bz2
cx18: Add __iomem address space qualifier to cx18_log_*_retries() argument
From: Andy Walls <awalls@radix.net> cx18: Add __iomem address space qualifier to cx18_log_*_retries() addr argument to clean up sparse build warnings. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/cx18/cx18-io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-io.h b/linux/drivers/media/video/cx18/cx18-io.h
index 197d4fbd9..287a5e8bf 100644
--- a/linux/drivers/media/video/cx18/cx18-io.h
+++ b/linux/drivers/media/video/cx18/cx18-io.h
@@ -39,7 +39,7 @@ static inline void cx18_io_delay(struct cx18 *cx)
/* Statistics gathering */
static inline
-void cx18_log_write_retries(struct cx18 *cx, int i, const void *addr)
+void cx18_log_write_retries(struct cx18 *cx, int i, const void __iomem *addr)
{
if (i > CX18_MAX_MMIO_RETRIES)
i = CX18_MAX_MMIO_RETRIES;
@@ -48,7 +48,7 @@ void cx18_log_write_retries(struct cx18 *cx, int i, const void *addr)
}
static inline
-void cx18_log_read_retries(struct cx18 *cx, int i, const void *addr)
+void cx18_log_read_retries(struct cx18 *cx, int i, const void __iomem *addr)
{
if (i > CX18_MAX_MMIO_RETRIES)
i = CX18_MAX_MMIO_RETRIES;