* [PATCH] of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS
@ 2012-12-15 13:27 Jonas Gorski
[not found] ` <1355578062-21876-1-git-send-email-jogo-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Jonas Gorski @ 2012-12-15 13:27 UTC (permalink / raw)
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ; +Cc: Rob Herring
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-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
---
include/linux/of_platform.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index b47d204..3863a4d 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -100,6 +100,7 @@ extern int of_platform_populate(struct device_node *root,
#if !defined(CONFIG_OF_ADDRESS)
struct of_dev_auxdata;
+struct device;
static inline int of_platform_populate(struct device_node *root,
const struct of_device_id *matches,
const struct of_dev_auxdata *lookup,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS
[not found] ` <1355578062-21876-1-git-send-email-jogo-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
@ 2012-12-19 15:12 ` Rob Herring
[not found] ` <50D1D97B.1020309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2012-12-19 15:12 UTC (permalink / raw)
To: Jonas Gorski; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
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-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
> ---
It seems like this never made it to the list, so hopefully this reply will.
Rob
> include/linux/of_platform.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
> index b47d204..3863a4d 100644
> --- a/include/linux/of_platform.h
> +++ b/include/linux/of_platform.h
> @@ -100,6 +100,7 @@ extern int of_platform_populate(struct device_node *root,
>
> #if !defined(CONFIG_OF_ADDRESS)
> struct of_dev_auxdata;
> +struct device;
> static inline int of_platform_populate(struct device_node *root,
> const struct of_device_id *matches,
> const struct of_dev_auxdata *lookup,
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS
[not found] ` <50D1D97B.1020309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-12-19 15:37 ` Jonas Gorski
2012-12-19 16:20 ` Grant Likely
1 sibling, 0 replies; 4+ messages in thread
From: Jonas Gorski @ 2012-12-19 15:37 UTC (permalink / raw)
To: Rob Herring; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
On 19 December 2012 16:12, Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-p3rKhJxN3npAfugRpC6u6w@public.gmane.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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS
[not found] ` <50D1D97B.1020309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-19 15:37 ` Jonas Gorski
@ 2012-12-19 16:20 ` Grant Likely
1 sibling, 0 replies; 4+ messages in thread
From: Grant Likely @ 2012-12-19 16:20 UTC (permalink / raw)
To: Rob Herring, Jonas Gorski; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
On Wed, 19 Dec 2012 09:12:59 -0600, Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-p3rKhJxN3npAfugRpC6u6w@public.gmane.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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-12-19 16:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-15 13:27 [PATCH] of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS Jonas Gorski
[not found] ` <1355578062-21876-1-git-send-email-jogo-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2012-12-19 15:12 ` Rob Herring
[not found] ` <50D1D97B.1020309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-19 15:37 ` Jonas Gorski
2012-12-19 16:20 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).