Skip to contentSkip to conversation

of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch removed from -mm tree

alternative-merged [email protected] 1 participant 1 message Sep 17, 2013 Device tree

lore
Share & tools
lore
#0 lore raw

Subject: [alternative-merged] of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 17 Sep 2013 14:33:44 -0700

The patch titled
Subject: of_irq.h: fix build warnings when CONFIG_OF is not enabled
has been removed from the -mm tree. Its filename was
of_irqh-fix-build-warnings-when-config_of-is-not-enabled.patch

This patch was dropped because an alternative patch was merged

------------------------------------------------------
From: Randy Dunlap <[email protected]>
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]

---

 include/linux/of_irq.h |    2 ++
 1 file changed, 2 insertions(+)
include/linux/of_irq.h renamed from include/linux/of_irq.h~of_irqh-fix-build-warnings-when-config_of-is-not-enabled +2 -0
diff -puN include/linux/of_irq.h~of_irqh-fix-build-warnings-when-config_of-is-not-enabled 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 [email protected] are

linux-next.patch
debugging-keep-track-of-page-owners-fix-2.patch