diff options
| author | Tony Lindgren <tony@atomide.com> | 2012-09-16 15:35:06 -0700 | 
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2012-09-16 15:35:06 -0700 | 
| commit | 6bfc82ff589a00e5fbc12b958c649d703d273c86 (patch) | |
| tree | 9326c7213d5ccee556bff1831e8f88681a27e57c /arch/arm/mach-omap2/omap-iommu.c | |
| parent | 26638c667e645de368cd68cade716ed0faef6269 (diff) | |
| parent | 68cb700c59fae6cd539c9dc1e9f2584f671935a0 (diff) | |
| download | olio-linux-3.10-6bfc82ff589a00e5fbc12b958c649d703d273c86.tar.xz olio-linux-3.10-6bfc82ff589a00e5fbc12b958c649d703d273c86.zip  | |
Merge tag 'omap-cleanup-sparseirq-for-v3.7' into devel-dt
This branch contains changes needed to make omap2+
work properly with sparse IRQ. It also removes
dependencies to mach/hardware.h. These help moving
things towards ARM single zImage support.
This branch is based on a commit in tty-next
branch with omap-devel-gpmc-fixed-for-v3.7 and
cleanup-omap-tags-for-v3.7 merged in to keep things
compiling and sort out some merge conflicts.
Conflicts:
	arch/arm/mach-omap2/omap4-common.c
	drivers/gpio/gpio-twl4030.c
Diffstat (limited to 'arch/arm/mach-omap2/omap-iommu.c')
| -rw-r--r-- | arch/arm/mach-omap2/omap-iommu.c | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c index 1be8bcb52e9..df298d46707 100644 --- a/arch/arm/mach-omap2/omap-iommu.c +++ b/arch/arm/mach-omap2/omap-iommu.c @@ -14,7 +14,9 @@  #include <linux/platform_device.h>  #include <plat/iommu.h> -#include <plat/irqs.h> + +#include "soc.h" +#include "common.h"  struct iommu_device {  	resource_size_t base; @@ -29,7 +31,7 @@ static int num_iommu_devices;  static struct iommu_device omap3_devices[] = {  	{  		.base = 0x480bd400, -		.irq = 24, +		.irq = 24 + OMAP_INTC_START,  		.pdata = {  			.name = "isp",  			.nr_tlb_entries = 8, @@ -41,7 +43,7 @@ static struct iommu_device omap3_devices[] = {  #if defined(CONFIG_OMAP_IOMMU_IVA2)  	{  		.base = 0x5d000000, -		.irq = 28, +		.irq = 28 + OMAP_INTC_START,  		.pdata = {  			.name = "iva2",  			.nr_tlb_entries = 32, @@ -64,7 +66,7 @@ static struct platform_device *omap3_iommu_pdev[NR_OMAP3_IOMMU_DEVICES];  static struct iommu_device omap4_devices[] = {  	{  		.base = OMAP4_MMU1_BASE, -		.irq = OMAP44XX_IRQ_DUCATI_MMU, +		.irq = 100 + OMAP44XX_IRQ_GIC_START,  		.pdata = {  			.name = "ducati",  			.nr_tlb_entries = 32, @@ -75,7 +77,7 @@ static struct iommu_device omap4_devices[] = {  	},  	{  		.base = OMAP4_MMU2_BASE, -		.irq = OMAP44XX_IRQ_TESLA_MMU, +		.irq = 28 + OMAP44XX_IRQ_GIC_START,  		.pdata = {  			.name = "tesla",  			.nr_tlb_entries = 32,  |