Skip to contentSkip to conversation

remove compile time warning

PATCH New Jes Sorensen 1 participant 1 message Feb 13, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove compile time warning

Hi,

This one falls into the present for Andrew Morton category to address his wishlist for a compiler warning free build ;-)

Cheers,
Jes

 arch/ia64/sn/kernel/setup.c |    2 ++
 1 files changed, 2 insertions(+)

Index: linux-2.6/arch/ia64/sn/kernel/setup.c =================================--- linux-2.6.orig/arch/ia64/sn/kernel/setup.c +++ linux-2.6/arch/ia64/sn/kernel/setup.c
@@ -317,6 +317,7 @@
#define PCDP_PCI_TRANS_IOPORT 0x02
#define PCDP_PCI_TRANS_MMIO 0x01

+#if defined(CONFIG_VT) && defined(CONFIG_VGA_CONSOLE)
static void
sn_scan_pcdp(void)
{
@@ -358,6 +359,7 @@
break; /* once we find the primary, we're done */
}
}
+#endif

static unsigned long sn2_rtc_initial;