From 6430c011f4630595f620a0792f2d7b57dc065d86 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 23 Jul 2003 18:51:01 +0000 Subject: get CONFIGURE right git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1011 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/device/chip.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/device/chip.h') 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); -- cgit v1.2.3