get CONFIGURE right

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1011 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-07-23 18:51:01 +00:00
parent 23e107f184
commit 6430c011f4
1 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@
/* some of the types of resources chips can control */ /* some of the types of resources chips can control */
#ifndef CONFIG_CHIP_CONFIGURE #ifndef CONFIG_CHIP_CONFIGURE
#define CONFIGURE(dev, pass) chip_configure(chip, pass) #define CONFIGURE(pass) chip_configure(&static_root, pass)
#else #else
#define CONFIGURE(dev, pass) #define CONFIGURE(pass)
#endif #endif
struct com_ports { struct com_ports {
@ -65,5 +65,5 @@ struct chip {
void *chip_info; /* the dreaded "void *" */ void *chip_info; /* the dreaded "void *" */
}; };
extern struct chip root; extern struct chip static_root;
extern void chip_configure(struct chip *, enum chip_pass); extern void chip_configure(struct chip *, enum chip_pass);