public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] kernel/irq/spurious.c: make a function static
@ 2005-03-03 21:49 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-03-03 21:49 UTC (permalink / raw)
  To: linux-kernel

This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 include/linux/irq.h   |    1 -
 kernel/irq/spurious.c |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.11-rc5-mm1-full/include/linux/irq.h.old	2005-03-03 16:32:01.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/include/linux/irq.h	2005-03-03 16:32:09.000000000 +0100
@@ -85,7 +85,6 @@
 				       struct irqaction *action);
 extern fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs);
 extern void note_interrupt(unsigned int irq, irq_desc_t *desc, int action_ret, struct pt_regs *regs);
-extern void report_bad_irq(unsigned int irq, irq_desc_t *desc, int action_ret);
 extern int can_request_irq(unsigned int irq, unsigned long irqflags);
 
 extern void init_irq_proc(void);
--- linux-2.6.11-rc5-mm1-full/kernel/irq/spurious.c.old	2005-03-03 16:32:27.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/kernel/irq/spurious.c	2005-03-03 16:32:33.000000000 +0100
@@ -116,7 +116,7 @@
 	}
 }
 
-void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
+static void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
 {
 	static int count = 100;
 


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

* [2.6 patch] kernel/irq/spurious.c: make a function static
@ 2005-04-15 15:10 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-04-15 15:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 3 Mar 2005

 include/linux/irq.h   |    1 -
 kernel/irq/spurious.c |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.11-rc5-mm1-full/include/linux/irq.h.old	2005-03-03 16:32:01.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/include/linux/irq.h	2005-03-03 16:32:09.000000000 +0100
@@ -85,7 +85,6 @@
 				       struct irqaction *action);
 extern fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs);
 extern void note_interrupt(unsigned int irq, irq_desc_t *desc, int action_ret, struct pt_regs *regs);
-extern void report_bad_irq(unsigned int irq, irq_desc_t *desc, int action_ret);
 extern int can_request_irq(unsigned int irq, unsigned long irqflags);
 
 extern void init_irq_proc(void);
--- linux-2.6.11-rc5-mm1-full/kernel/irq/spurious.c.old	2005-03-03 16:32:27.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/kernel/irq/spurious.c	2005-03-03 16:32:33.000000000 +0100
@@ -116,7 +116,7 @@
 	}
 }
 
-void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
+static void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
 {
 	static int count = 100;
 


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

end of thread, other threads:[~2005-04-15 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-15 15:10 [2.6 patch] kernel/irq/spurious.c: make a function static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-03-03 21:49 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox