iommu/omap: eliminate the public omap_find_iommu_device() method
authorOhad Ben-Cohen <ohad@wizery.com>
Mon, 10 Oct 2011 22:18:33 +0000 (00:18 +0200)
committerOhad Ben-Cohen <ohad@wizery.com>
Mon, 5 Dec 2011 13:47:39 +0000 (15:47 +0200)
commitfabdbca8c991dfa0ea1ff26214ae7d18e5740cc3
treeeb749033a25fd557e21756936ba83180fefdb8c8
parentc8eaab3b74f1326c989e1db8d7c0c14981556e4e
iommu/omap: eliminate the public omap_find_iommu_device() method

Eliminate the public omap_find_iommu_device() method, and don't
expect clients to provide the omap_iommu handle anymore.

Instead, OMAP's iommu driver now utilizes dev_archdata's private iommu
extension to be able to access the required iommu information.

This way OMAP IOMMU users are now able to use the generic IOMMU API without
having to call any omap-specific binding method.

Update omap3isp appropriately.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: Hiroshi Doyu <hdoyu@nvidia.com>
arch/arm/plat-omap/include/plat/iommu.h
arch/arm/plat-omap/include/plat/iovmm.h
drivers/iommu/omap-iommu.c
drivers/iommu/omap-iovmm.c
drivers/media/video/omap3isp/isp.c
drivers/media/video/omap3isp/isp.h
drivers/media/video/omap3isp/ispccdc.c
drivers/media/video/omap3isp/ispstat.c
drivers/media/video/omap3isp/ispvideo.c