Re: [PATCH v3 1/2] ARM: EXYNOS4: Change System MMU device definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 07, 2011 at 06:56:21PM +0900, Kukjin Kim wrote:
> +#define SYSMMU_RESOURCE(ipname, base, irq) \
> +static struct resource sysmmu_resource_##ipname[] =\
> +{\
> +	{\
> +		.start	= EXYNOS4_PA_SYSMMU_##base,\
> +		.end	= EXYNOS4_PA_SYSMMU_##base + SZ_4K - 1,\
> +		.flags	= IORESOURCE_MEM,\
> +	}, {\
> +		.start	= IRQ_SYSMMU_##irq##_0,\
> +		.end	= IRQ_SYSMMU_##irq##_0,\
> +		.flags	= IORESOURCE_IRQ,\
> +	},\
>  }

#define SYSMMU_RESOURCE(ipname, base, irq) \
static struct resource sysmmu_resource_##ipname[] = \
{ \
	DEFINE_RES_MEM(EXYNOS4_PA_SYSMMU_##base, SZ_4K), \
	DEFINE_RES_IRQ(IRQ_SYSMMU_##irq##_0), \
}

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux