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)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:38 +0000 (11:11 +0200)
commit23c6b44b1e702cdbc029b0bd1819153c20f75337
tree2095a36f5acf993f3e53050570f026a41046f7f4
parentb385da44ae246572d93c294782067efa57ebaa20
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>

Conflicts:

drivers/media/video/omap3isp/ispccdc.c

Change-Id: Ia9b3421662fab7bb4bee298693ed6da716599ee5
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