aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/omap24xxcam.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-05-03 18:22:27 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-15 07:50:27 -0300
commitd0f8dfc6e74df5cdefb65ae27d52d848d3973cc8 (patch)
tree05ce37c07d6afbb4cef690c6d4f1c168f682c765 /drivers/media/video/omap24xxcam.c
parent5cbd28df305ab29b7e43bd8e901e7824f7ed9417 (diff)
[media] video/omap24xxcam: use __iomem annotations
MMIO registers are __iomem tokens in virtual address space, not integers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap24xxcam.c')
-rw-r--r--drivers/media/video/omap24xxcam.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c
index 7d386414436..e5015b0d550 100644
--- a/drivers/media/video/omap24xxcam.c
+++ b/drivers/media/video/omap24xxcam.c
@@ -1776,8 +1776,7 @@ static int __devinit omap24xxcam_probe(struct platform_device *pdev)
cam->mmio_size = resource_size(mem);
/* map the region */
- cam->mmio_base = (unsigned long)
- ioremap_nocache(cam->mmio_base_phys, cam->mmio_size);
+ cam->mmio_base = ioremap_nocache(cam->mmio_base_phys, cam->mmio_size);
if (!cam->mmio_base) {
dev_err(cam->dev, "cannot map camera register I/O region\n");
goto err;