diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-08-21 16:06:36 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 15:31:30 +0200 |
commit | a7547af7d295bae3853accde5c746159b3e0e9de (patch) | |
tree | 001d7539a2ac65ea702003bd79b662e0202b9a95 /drivers/media/platform/via-camera.c | |
parent | [media] lirc_dev: fix sparse warnings (diff) | |
download | linux-a7547af7d295bae3853accde5c746159b3e0e9de.tar.xz linux-a7547af7d295bae3853accde5c746159b3e0e9de.zip |
[media] via-camera: fix sparse warning
drivers/media/platform/via-camera.c:445:34: warning: incorrect type in assignment (different address spaces)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/via-camera.c')
-rw-r--r-- | drivers/media/platform/via-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via-camera.c index 2ac870438493..00d431293190 100644 --- a/drivers/media/platform/via-camera.c +++ b/drivers/media/platform/via-camera.c @@ -82,7 +82,7 @@ struct via_camera { * live in frame buffer memory, so we don't call them "DMA". */ unsigned int cb_offsets[3]; /* offsets into fb mem */ - u8 *cb_addrs[3]; /* Kernel-space addresses */ + u8 __iomem *cb_addrs[3]; /* Kernel-space addresses */ int n_cap_bufs; /* How many are we using? */ int next_buf; struct videobuf_queue vb_queue; |