[PATCH v2 1/2] ARM: shmobile: R8A7779: add Ether support

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Apr 18 11:36:11 EDT 2013


On Thu, Apr 04, 2013 at 10:53:50PM +0400, Sergei Shtylyov wrote:
> +/* Ether */
> +static struct resource ether_resources[] = {
> +	{
> +		.start	= 0xfde00000,
> +		.end	= 0xfde003ff,
> +		.flags	= IORESOURCE_MEM,
> +	}, {
> +		.start	= gic_iid(0xb4),
> +		.flags	= IORESOURCE_IRQ,
> +	},

There are macros for initializing these which have been around for a
few years now.  Please consider using them in future.



More information about the linux-arm-kernel mailing list