Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282749
b: refs/heads/master
c: c8eaab3
h: refs/heads/master
i:
  282747: 15d06c7
v: v3
  • Loading branch information
Ohad Ben-Cohen committed Dec 5, 2011
1 parent 0bae718 commit 7492a85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1fa02ac9536c9a5278e999e40e274bba62c23a4d
refs/heads/master: c8eaab3b74f1326c989e1db8d7c0c14981556e4e
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-omap2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <plat/board.h>
#include <plat/mcbsp.h>
#include <plat/mmc.h>
#include <plat/iommu.h>
#include <plat/dma.h>
#include <plat/omap_hwmod.h>
#include <plat/omap_device.h>
Expand Down Expand Up @@ -211,9 +212,15 @@ static struct platform_device omap3isp_device = {
.resource = omap3isp_resources,
};

static struct omap_iommu_arch_data omap3_isp_iommu = {
.name = "isp",
};

int omap3_init_camera(struct isp_platform_data *pdata)
{
omap3isp_device.dev.platform_data = pdata;
omap3isp_device.dev.archdata.iommu = &omap3_isp_iommu;

return platform_device_register(&omap3isp_device);
}

Expand Down

0 comments on commit 7492a85

Please sign in to comment.