Thread (14 messages) 14 messages, 8 authors, 2012-01-23
STALE5256d

[PATCH] mx28: added LRADC and touchscreen support

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help