aboutsummaryrefslogtreecommitdiff
path: root/src/superio/ite/it8716f/superio.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-25 13:54:30 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-25 13:54:30 +0000
commitd55e26f1b1efe50aa013ad32bdf3e2b58101a64f (patch)
tree08e5801c91c46eb3837b90c1828fb7f4b96c0479 /src/superio/ite/it8716f/superio.c
parent7d2a39631efa117d7a5e89810e905a838789518f (diff)
zero warnings days
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5492 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite/it8716f/superio.c')
-rw-r--r--src/superio/ite/it8716f/superio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c
index fbc9185a1b..a365bf764e 100644
--- a/src/superio/ite/it8716f/superio.c
+++ b/src/superio/ite/it8716f/superio.c
@@ -51,9 +51,7 @@ static void pnp_exit_ext_func_mode(device_t dev)
pnp_write_config(dev, 0x02, 0x02);
}
-#if CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
-extern void init_ec(uint16_t base);
-#else
+#if !defined(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL) || !CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
static void pnp_write_index(uint16_t port_base, uint8_t reg, uint8_t value)
{
outb(reg, port_base);