Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-05 Thread Cousson, Benoit
Hi Grant, On 3/3/2012 5:09 AM, Grant Likely wrote: On Fri, 2 Mar 2012 17:07:15 -0800, Andrew Mortona...@linux-foundation.org wrote: On Fri, 2 Mar 2012 22:20:16 +0100 Cousson, Benoitb-cous...@ti.com wrote: Hi Grant, In fact this patch is not working for build without CONFIG_OF like x86.

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-05 Thread Grant Likely
On Mon, Mar 05, 2012 at 02:30:01PM +0100, Cousson, Benoit wrote: On 3/3/2012 5:09 AM, Grant Likely wrote: On Fri, 2 Mar 2012 17:07:15 -0800, Andrew Mortona...@linux-foundation.org wrote: All twl is broken. i386 allmodconfig with this monring's linux-next: drivers/mfd/twl-core.c: In

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-02 Thread Cousson, Benoit
Hi Grant, In fact this patch is not working for build without CONFIG_OF like x86. On 2/24/2012 11:06 PM, Grant Likely wrote: --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h @@ -81,7 +81,7 @@ extern struct platform_device *of_device_alloc(struct device_node *np,

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-02-27 Thread Samuel Ortiz
Hi Grant, On Fri, Feb 24, 2012 at 03:06:58PM -0700, Grant Likely wrote: Sparc has its own helpers for translating address ranges when the device tree is parsed at boot time, and it isn't able to use of_platform_populate(). However, there are some device drivers that want to use that function

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-02-27 Thread Grant Likely
On Feb 27, 2012 3:32 AM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Grant, On Fri, Feb 24, 2012 at 03:06:58PM -0700, Grant Likely wrote: Sparc has its own helpers for translating address ranges when the device tree is parsed at boot time, and it isn't able to use of_platform_populate().