Subject: + of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch added to -mm tree To: rdunlap@xxxxxxxxxxxxx,grant.likely@xxxxxxxxxx,rob.herring@xxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 17 Sep 2013 14:23:43 -0700 The patch titled Subject: of_irq.h: fix build warnings when CONFIG_OF is not enabled has been added to the -mm tree. Its filename is of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Subject: of_irq.h: fix build warnings when CONFIG_OF is not enabled Fix build warnings when CONFIG_OF is not enabled: (seen on i386 and x86_64) include/linux/of_irq.h:82:7: warning: 'struct device_node' declared inside parameter list [enabled by default] include/linux/of_irq.h:82:7: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] include/linux/of_irq.h:87:47: warning: 'struct device_node' declared inside parameter list [enabled by default] Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Cc: Grant Likely <grant.likely@xxxxxxxxxx> Cc: Rob Herring <rob.herring@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/of_irq.h | 2 ++ 1 file changed, 2 insertions(+) diff -puN include/linux/of_irq.h~of_irqh-fix-build-warnings-when-config_of-is-not-enabled include/linux/of_irq.h --- a/include/linux/of_irq.h~of_irqh-fix-build-warnings-when-config_of-is-not-enabled +++ a/include/linux/of_irq.h @@ -1,6 +1,8 @@ #ifndef __OF_IRQ_H #define __OF_IRQ_H +struct device_node; + #if defined(CONFIG_OF) struct of_irq; #include <linux/types.h> _ Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxxx are of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch linux-next.patch debugging-keep-track-of-page-owners-fix-2.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html