zero warnings days
[coreboot.git] / src / superio / ite / it8716f / superio.c
index fbc9185a1bbb9427055a2525b371fcdd5fdccd6e..a365bf764eb2580a640922665eec452768e98c8f 100644 (file)
@@ -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);