[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOMZO5CH_3hEHm6=734KoYcURbGf5=BqY3eZKnwkdyFRWMDjAA@mail.gmail.com>
Date: Tue, 24 Jan 2012 00:37:50 -0200
From: Fabio Estevam <festevam@...il.com>
To: Jaccon Bastiaansen <jaccon.bastiaansen@...il.com>
Cc: s.hauer@...gutronix.de, kernel@...gutronix.de,
u.kleine-koenig@...gutronix.de, davem@...emloft.net,
cavokz@...il.com, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH V3 4/4] CS89x0 : add CS89x0 platform device to the
iMX31ADS board
On Sat, Jan 14, 2012 at 5:58 PM, Jaccon Bastiaansen
<jaccon.bastiaansen@...il.com> wrote:
> +static const struct resource mx31ads_cs8900_resources[] __initconst = {
> + {
> + .start = MX31_CS4_BASE_ADDR + CS4_CS8900_MMIO_START,
> + .end = MX31_CS4_BASE_ADDR + CS4_CS8900_MMIO_END,
> + .flags = IORESOURCE_MEM
> + },
You can use DEFINE_RES_MEM(MX31_CS4_BASE_ADDR, SZ_64K);
> + {
> + .start = EXPIO_INT_ENET_INT,
> + .end = EXPIO_INT_ENET_INT,
> + .flags = IORESOURCE_IRQ
> + }
And here DEFINE_RES_IRQ(EXPIO_INT_ENET_INT);
Regards,
Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists