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

Grant Likely grant.likely at secretlab.ca
Thu Nov 15 04:22:03 EST 2012


On Wed, Nov 14, 2012 at 5:10 PM, Rob Herring <robherring2 at gmail.com> wrote:
> On 11/14/2012 10:11 AM, Grant Likely wrote:
>> On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin <sasha.levin at oracle.com> 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 stubs as 'static inline'.
>>>
>>> Signed-off-by: Sasha Levin <sasha.levin at oracle.com>
>>
>> Acked-by: Grant Likely <grant.likely at secretlab.ca>
>>
>> Rob, can you please pick up into your merge branch for device tree?
>>
>
> This is already fixed:

Even better! :-)

g.


More information about the devicetree-discuss mailing list