omap: iommu: omapify 'struct iommu' and exposed API
[deliverable/linux.git] / arch / arm / plat-omap / include / plat / iommu2.h
index 10ad05f410e9ead9e16a834ad011a24a50aa6a68..d4116b595e400d580264a58740237964b7d82305 100644 (file)
 /*
  * register accessors
  */
-static inline u32 iommu_read_reg(struct iommu *obj, size_t offs)
+static inline u32 iommu_read_reg(struct omap_iommu *obj, size_t offs)
 {
        return __raw_readl(obj->regbase + offs);
 }
 
-static inline void iommu_write_reg(struct iommu *obj, u32 val, size_t offs)
+static inline void iommu_write_reg(struct omap_iommu *obj, u32 val, size_t offs)
 {
        __raw_writel(val, obj->regbase + offs);
 }
This page took 0.025942 seconds and 5 git commands to generate.