diff options
author | Corey Osgood <corey.osgood@gmail.com> | 2008-12-19 03:36:48 +0000 |
---|---|---|
committer | Corey Osgood <corey.osgood@gmail.com> | 2008-12-19 03:36:48 +0000 |
commit | e562f7258e573e52ab6e81f85f400999c3d9caaa (patch) | |
tree | cb853f5f7039e0e0668c12b6ea1c837eb698a3d7 /src/northbridge/intel | |
parent | 716e5670fe5a2edcb66e587ec5a31377b2099ba8 (diff) |
Fix a LOT of implicit function declarations before they become errors.
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@3822 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/i440bx/northbridge.c | 2 | ||||
-rw-r--r-- | src/northbridge/intel/i855pm/northbridge.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c index 9f88d3c120..306e73e66d 100644 --- a/src/northbridge/intel/i440bx/northbridge.c +++ b/src/northbridge/intel/i440bx/northbridge.c @@ -7,6 +7,8 @@ #include <stdlib.h> #include <string.h> #include <bitops.h> +#include <cpu/cpu.h> +#include <pc80/keyboard.h> #include "chip.h" #include "northbridge.h" #include "i440bx.h" diff --git a/src/northbridge/intel/i855pm/northbridge.c b/src/northbridge/intel/i855pm/northbridge.c index a0259e72f3..85adf4f417 100644 --- a/src/northbridge/intel/i855pm/northbridge.c +++ b/src/northbridge/intel/i855pm/northbridge.c @@ -3,6 +3,7 @@ #include <stdint.h> #include <device/device.h> #include <device/pci.h> +#include <device/pci_ids.h> #include <stdlib.h> #include <string.h> #include <bitops.h> @@ -13,7 +14,6 @@ static void pci_domain_read_resources(device_t dev) { struct resource *resource; - unsigned reg; /* Initialize the system wide io space constraints */ resource = new_resource(dev, IOINDEX_SUBTRACTIVE(0, 0)); |