trivial warning fixes, mostly for ACPI code
[coreboot.git] / src / superio / winbond / w83627hf / superio.c
index 1d9b31c928d7c1e9b139081cf239f84368751ad3..20f7a207cfb4fee8075c955e7a40462a3fbff809 100644 (file)
@@ -57,6 +57,7 @@ static uint8_t pnp_read_index(unsigned long port_base, uint8_t reg)
        return inb(port_base + 1);
 }
 
+#if CONFIG_EXPERT
 static void w83627hf_16_bit_addr_qual(device_t dev)
 {
       int port = dev->path.pnp.port >> 8;
@@ -66,6 +67,7 @@ static void w83627hf_16_bit_addr_qual(device_t dev)
       outb(inb(port + 1) | 0x80, port + 1);
       pnp_exit_ext_func_mode(dev);
 }
+#endif
 
 static void enable_hwm_smbus(device_t dev)
 {