summaryrefslogtreecommitdiffstats
path: root/src/superio/ite/it8716f/superio.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-19 16:21:30 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-19 16:21:30 +0000
commitec0ee64da7aa7e569da7d55ef86804d9b7fbea1b (patch)
treeb90a7f3399c77007c9fc80bc9ff475dd3ff65dad /src/superio/ite/it8716f/superio.c
parenta29ad5cb09c1fd983bbace35185148630c62de5d (diff)
downloadcoreboot-ec0ee64da7aa7e569da7d55ef86804d9b7fbea1b.tar.gz
coreboot-ec0ee64da7aa7e569da7d55ef86804d9b7fbea1b.tar.bz2
coreboot-ec0ee64da7aa7e569da7d55ef86804d9b7fbea1b.zip
Clean up some #ifdef CONFIG_*
Change HAVE_FAN_CTL to be specific to the SuperIO that supports it. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4809 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite/it8716f/superio.c')
-rw-r--r--src/superio/ite/it8716f/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c
index e761cd4fae71..52d2fc0f00ff 100644
--- a/src/superio/ite/it8716f/superio.c
+++ b/src/superio/ite/it8716f/superio.c
@@ -51,7 +51,7 @@ static void pnp_exit_ext_func_mode(device_t dev)
pnp_write_config(dev, 0x02, 0x02);
}
-#ifdef CONFIG_HAVE_FANCTL
+#if CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
extern void init_ec(uint16_t base);
#else
static void pnp_write_index(uint16_t port_base, uint8_t reg, uint8_t value)