[PATCH] powerpc: uninline of_iomap function

Paul Mackerras paulus at samba.org
Wed Apr 25 10:31:51 EST 2007


Christian Krafft writes:

> @@ -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.



More information about the Linuxppc-dev mailing list