summaryrefslogtreecommitdiff
path: root/src/northbridge/via
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-04-30 17:11:03 +0000
committerMyles Watson <mylesgw@gmail.com>2010-04-30 17:11:03 +0000
commitad894c54492781253cb7e01373a9d5d2f039f753 (patch)
treee98b3f5714627d152a5eaa64b053340e28299ab1 /src/northbridge/via
parent636d9244259a86afd5af64268c5f6ab660d522fa (diff)
Get rid of a few more warnings.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via')
-rw-r--r--src/northbridge/via/vx800/vga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/via/vx800/vga.c b/src/northbridge/via/vx800/vga.c
index 7bdc3418f1..cd33770823 100644
--- a/src/northbridge/via/vx800/vga.c
+++ b/src/northbridge/via/vx800/vga.c
@@ -126,6 +126,7 @@ static int via_vx800_int15_handler(struct eregs *regs)
return res;
}
+#ifdef UNUSED_CODE
void write_protect_vgabios(void)
{
device_t dev;
@@ -141,6 +142,7 @@ void write_protect_vgabios(void)
//if(dev)
// pci_write_config8(dev, 0x61, 0xff); */
}
+#endif
extern u8 acpi_sleep_type;
static void vga_init(device_t dev)