diff options
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index c15cfada5f13..9ceabf02eeb7 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <plat/board.h> | 28 | #include <plat/board.h> |
29 | #include <plat/mcbsp.h> | 29 | #include <plat/mcbsp.h> |
30 | #include <plat/mmc.h> | 30 | #include <plat/mmc.h> |
31 | #include <plat/iommu.h> | ||
31 | #include <plat/dma.h> | 32 | #include <plat/dma.h> |
32 | #include <plat/omap_hwmod.h> | 33 | #include <plat/omap_hwmod.h> |
33 | #include <plat/omap_device.h> | 34 | #include <plat/omap_device.h> |
@@ -211,9 +212,15 @@ static struct platform_device omap3isp_device = { | |||
211 | .resource = omap3isp_resources, | 212 | .resource = omap3isp_resources, |
212 | }; | 213 | }; |
213 | 214 | ||
215 | static struct omap_iommu_arch_data omap3_isp_iommu = { | ||
216 | .name = "isp", | ||
217 | }; | ||
218 | |||
214 | int omap3_init_camera(struct isp_platform_data *pdata) | 219 | int omap3_init_camera(struct isp_platform_data *pdata) |
215 | { | 220 | { |
216 | omap3isp_device.dev.platform_data = pdata; | 221 | omap3isp_device.dev.platform_data = pdata; |
222 | omap3isp_device.dev.archdata.iommu = &omap3_isp_iommu; | ||
223 | |||
217 | return platform_device_register(&omap3isp_device); | 224 | return platform_device_register(&omap3isp_device); |
218 | } | 225 | } |
219 | 226 | ||