]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/omap: Remove conditional definition of dev_to_omap_iommu()
authorSuman Anna <s-anna@ti.com>
Wed, 22 Oct 2014 22:22:22 +0000 (17:22 -0500)
committerJoerg Roedel <jroedel@suse.de>
Thu, 23 Oct 2014 12:32:25 +0000 (14:32 +0200)
commit533b40cccd2fbe8cf6ba361cab7e99f626be45bf
treeab3cdfe030506a670be643ab0185aa3280d9d4bf
parent52dad776fcb644f9ccfc1986c965bd9438e59b21
iommu/omap: Remove conditional definition of dev_to_omap_iommu()

The dev_to_omap_iommu() is local to the OMAP IOMMU modules, and
need not be defined conditionally. The CONFIG_IOMMU_API dependency
check was added in the past to fix a compilation issue back when
the header resided in the arch/arm layers, and is no longer
needed.

While at this, fix the header against double inclusion as well.

Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu.h