Re: [PATCH] of/mdio: fix build errors when CONFIG_OF isn't set

2012-11-14 Thread Grant Likely
On Wed, Nov 14, 2012 at 5:10 PM, Rob Herring wrote: > On 11/14/2012 10:11 AM, Grant Likely wrote: >> On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin >> wrote: >>> Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added >>> empty stubs into of_mdio.h which were not static, this c

Re: [PATCH] of/mdio: fix build errors when CONFIG_OF isn't set

2012-11-14 Thread Rob Herring
On 11/14/2012 10:11 AM, Grant Likely wrote: > On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin > wrote: >> Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added >> empty stubs into of_mdio.h which were not static, this causes build errors >> when these symbols were defined acros

Re: [PATCH] of/mdio: fix build errors when CONFIG_OF isn't set

2012-11-14 Thread Grant Likely
On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin wrote: > Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added > empty stubs into of_mdio.h which were not static, this causes build errors > when these symbols were defined across several objects. > > Fix it by marking those stub

[PATCH] of/mdio: fix build errors when CONFIG_OF isn't set

2012-10-10 Thread Sasha Levin
Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added empty stubs into of_mdio.h which were not static, this causes build errors when these symbols were defined across several objects. Fix it by marking those stubs as 'static inline'. Signed-off-by: Sasha Levin --- include/li