[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ia64
Subject:    [patch 2/4] ia64: make iosapic_ack_edge_irq static
From:       Simon Horman <horms () verge ! net ! au>
Date:       2007-11-28 9:21:19
Message-ID: 20071128092247.245256422 () vergenet ! net
[Download RAW message or body]

iosapic_ack_edge_irq is not used outside of arch/ia64/kernel/iosapic.c
so it seems senible to make it static.

Signed-off-by: Simon Horman <horms@verge.net.au>

Index: linux-2.6/arch/ia64/kernel/iosapic.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/iosapic.c	2007-11-28 13:19:12.000000000 +0900
+++ linux-2.6/arch/ia64/kernel/iosapic.c	2007-11-28 13:19:27.000000000 +0900
@@ -478,7 +478,7 @@ iosapic_ack_edge_irq (unsigned int irq)
 #define iosapic_disable_edge_irq	nop
 #define iosapic_end_edge_irq		nop
 
-struct irq_chip irq_type_iosapic_edge = {
+static struct irq_chip irq_type_iosapic_edge = {
 	.name =		"IO-SAPIC-edge",
 	.startup =	iosapic_startup_edge_irq,
 	.shutdown =	iosapic_disable_edge_irq,

-- 

-- 
Horms

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic