[PATCH] mx28: added LRADC and touchscreen support
From: Russell King - ARM Linux <hidden>
Date: 2011-11-24 21:11:25
From: Russell King - ARM Linux <hidden>
Date: 2011-11-24 21:11:25
On Thu, Nov 24, 2011 at 12:49:54PM +0100, Peter Rusko wrote:
+ struct resource res[] = {
+ {
+ .start = MX28_LRADC_BASE_ADDR,
+ .end = MX28_LRADC_BASE_ADDR + SZ_16K - 1,
+ .flags = IORESOURCE_MEM,
+ },
The other thing which I forgot to mention is...
struct resource res[] = {
DEFINE_RES_MEM(MX28_LRADC_BASE_ADDR, SZ_16K),
};
is much neater.