From aa41ff341f73724c8c8f11f8e4a0e619e0572d70 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 13 Mar 2007 15:51:08 +0000 Subject: [PATCH] More legacy code removal since we have make xconfig. Signed-off-by: Ronald G. Minnich Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@264 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- device/device.c | 1 + device/pci_rom.c | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/device/device.c b/device/device.c index 3aa18918d3..a9db6a1a05 100644 --- a/device/device.c +++ b/device/device.c @@ -505,6 +505,7 @@ void compute_allocate_resource( #if defined(CONFIG_CONSOLE_VGA) && CONFIG_CONSOLE_VGA == 1 struct device * vga_pri = 0; +int vga_inited = 0; static void allocate_vga_resource(void) { #warning "FIXME modify allocate_vga_resource so it is less pci centric!" diff --git a/device/pci_rom.c b/device/pci_rom.c index 6923541815..43e540203e 100644 --- a/device/pci_rom.c +++ b/device/pci_rom.c @@ -83,11 +83,6 @@ struct rom_header * pci_rom_probe(struct device *dev) static void *pci_ram_image_start = (void *)PCI_RAM_IMAGE_START; -#ifndef GO_AWAY -int vga_inited; -struct device *vga_pri; -#endif - #if CONFIG_CONSOLE_VGA == 1 extern int vga_inited; // defined in vga_console.c #if CONFIG_CONSOLE_VGA_MULTI == 0