[PATCH] of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS

Jonas Gorski jogo at openwrt.org
Thu Dec 20 02:37:54 EST 2012


On 19 December 2012 16:12, Rob Herring <robherring2 at gmail.com> wrote:
> On 12/15/2012 07:27 AM, Jonas Gorski wrote:
>> Fixes the following warning:
>>
>> include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
>> include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
>>
>> Signed-off-by: Jonas Gorski <jogo at openwrt.org>
>> ---
>
> It seems like this never made it to the list, so hopefully this reply will.
>
> Rob

It's in the archive, and I received it from the list (on a different
email account), so it whatever made it not there must be a local
issue:

<https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-December/024480.html>

Regards
Jonas


More information about the devicetree-discuss mailing list