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

Grant Likely grant.likely at secretlab.ca
Thu Dec 20 03:20:03 EST 2012


On Wed, 19 Dec 2012 09:12:59 -0600, 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

Applied, thanks.

Rob, I've added a signed-off-by tag for you since I *assume* you sign
off on receiving this patch under appropriate terms. I will expect to
hear from you if this is not the case.  :-p

g.



More information about the devicetree-discuss mailing list