Thread (19 messages) 19 messages, 4 authors, 2007-04-25

Re: [PATCH] powerpc: uninline of_iomap function

From: Paul Mackerras <hidden>
Date: 2007-04-25 00:31:51

Christian Krafft writes:
quoted hunk ↗ jump to hunk
@@ -1042,3 +1042,15 @@ const void *of_get_mac_address(struct de
 }
 EXPORT_SYMBOL(of_get_mac_address);
 
+void __iomem *of_iomap(struct device_node *np, int index)
+{
+	struct resource res;

+	if (of_address_to_resource(np, index, &res))
+		return NULL;

+	return ioremap(res.start, 1 + res.end - res.start);
+}
+EXPORT_SYMBOL(of_iomap);
Looks like your mailer mangled the patch - could you resend it with a
different mailer or with different settings of your mailer?

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help