summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:51:01 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:51:01 +0000
commit6430c011f4630595f620a0792f2d7b57dc065d86 (patch)
tree21fd60b25a245c10fda4c308c723f2debdfcfc3c /src/include/device
parent23e107f1844b599631c310c2f9872f01da9efce3 (diff)
downloadcoreboot-6430c011f4630595f620a0792f2d7b57dc065d86.tar.xz
get CONFIGURE right
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1011 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/chip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/device/chip.h b/src/include/device/chip.h
index 20247b9209..978af8157f 100644
--- a/src/include/device/chip.h
+++ b/src/include/device/chip.h
@@ -7,9 +7,9 @@
/* some of the types of resources chips can control */
#ifndef CONFIG_CHIP_CONFIGURE
-#define CONFIGURE(dev, pass) chip_configure(chip, pass)
+#define CONFIGURE(pass) chip_configure(&static_root, pass)
#else
-#define CONFIGURE(dev, pass)
+#define CONFIGURE(pass)
#endif
struct com_ports {
@@ -65,5 +65,5 @@ struct chip {
void *chip_info; /* the dreaded "void *" */
};
-extern struct chip root;
+extern struct chip static_root;
extern void chip_configure(struct chip *, enum chip_pass);