Fix implicit declaration in cn700/vt8237 code

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3819 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Corey Osgood 2008-12-18 19:37:11 +00:00
parent 43bb9cdddd
commit 809242a715
4 changed files with 8 additions and 1 deletions

View File

@ -36,6 +36,7 @@
#include "chip.h" #include "chip.h"
#include "northbridge.h" #include "northbridge.h"
#include "cn700.h" #include "cn700.h"
#include "vgachip.h"
void write_protect_vgabios(void) void write_protect_vgabios(void)
{ {

View File

@ -27,4 +27,9 @@ struct pc80_vgabios_config {
int nothing; int nothing;
}; };
void vga_enable_console(void);
void do_vgabios(void);
void setup_realmode_idt(void);
void write_protect_vgabios(void);
#endif /* _PC80_VGABIOS */ #endif /* _PC80_VGABIOS */

View File

@ -21,7 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <pc80/keyboard.h>
#include "chip.h" #include "chip.h"
/* /*

View File

@ -26,6 +26,7 @@
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <pc80/keyboard.h>
#include <stdlib.h> #include <stdlib.h>
#include "vt8237r.h" #include "vt8237r.h"
#include "chip.h" #include "chip.h"
@ -46,6 +47,7 @@
#define INT (1 << 8) #define INT (1 << 8)
extern void dump_south(device_t dev); extern void dump_south(device_t dev);
extern void setup_i8259(void);
static struct ioapicreg { static struct ioapicreg {
u32 reg; u32 reg;