linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] removing compilation warning comming from <asm/irq.h>
@ 2010-03-26 10:13 Viresh KUMAR
  2010-03-26 10:23 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh KUMAR @ 2010-03-26 10:13 UTC (permalink / raw)
  To: linux-arm-kernel

irq.h is using struct pt_regs *. Due to this compilation
warning is comming. Removing this warning by adding declaration
of struct pt_regs.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
---
 arch/arm/include/asm/irq.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/irq.h b/arch/arm/include/asm/irq.h
index 328f14a..567c398 100644
--- a/arch/arm/include/asm/irq.h
+++ b/arch/arm/include/asm/irq.h
@@ -3,6 +3,8 @@
 
 #include <mach/irqs.h>
 
+struct pt_regs;
+
 #ifndef irq_canonicalize
 #define irq_canonicalize(i)	(i)
 #endif
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-26 10:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 10:13 [PATCH] removing compilation warning comming from <asm/irq.h> Viresh KUMAR
2010-03-26 10:23 ` Russell King - ARM Linux
2010-03-26 10:33   ` Viresh KUMAR

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).