projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d345434
)
[IA64-SGI] remove compile time warning
author
Jes Sorensen
<jes@sgi.com>
Mon, 13 Feb 2006 10:35:01 +0000
(
05:35
-0500)
committer
Tony Luck
<tony.luck@intel.com>
Wed, 15 Feb 2006 21:27:02 +0000
(13:27 -0800)
This one falls into the "present for Andrew Morton" category to address
his wishlist for a compiler warning free build ;-)
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/ia64/sn/kernel/setup.c
b/arch/ia64/sn/kernel/setup.c
index 48645ac120fc3d0b8b7855de1f0d965b5694a2d4..1672ecad77e2209fb05076397d967370b07ee2d5 100644
(file)
--- a/
arch/ia64/sn/kernel/setup.c
+++ b/
arch/ia64/sn/kernel/setup.c
@@
-317,6
+317,7
@@
struct pcdp_vga_device {
#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
@@
sn_scan_pcdp(void)
break; /* once we find the primary, we're done */
}
}
+#endif
static unsigned long sn2_rtc_initial;