[patch 3/4] ia64: make irq_type_iosapic_level static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

Index: linux-2.6/arch/ia64/kernel/iosapic.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/iosapic.c	2007-11-28 13:59:48.000000000 +0900
+++ linux-2.6/arch/ia64/kernel/iosapic.c	2007-11-28 13:59:59.000000000 +0900
@@ -429,7 +429,7 @@ iosapic_end_level_irq (unsigned int irq)
 #define iosapic_disable_level_irq	mask_irq
 #define iosapic_ack_level_irq		nop
 
-struct irq_chip irq_type_iosapic_level = {
+static struct irq_chip irq_type_iosapic_level = {
 	.name =		"IO-SAPIC-level",
 	.startup =	iosapic_startup_level_irq,
 	.shutdown =	iosapic_shutdown_level_irq,

-- 

-- 
Horms

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

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux