diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-17 04:40:15 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-17 04:40:15 +0000 |
commit | 50776fab1c9062ddfa353ee6c138f69d901c11b7 (patch) | |
tree | ece1cfdf3cf999616f895dd4aa4ad4f0713c38c7 /src/superio/winbond | |
parent | dfd29aa41347083fbc7a26ca7d639f7f60fe1eea (diff) | |
download | coreboot-50776fab1c9062ddfa353ee6c138f69d901c11b7.tar.xz |
trivial warning fixes, mostly for ACPI code
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5251 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/winbond')
-rw-r--r-- | src/superio/winbond/w83627hf/superio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c index 1d9b31c928..20f7a207cf 100644 --- a/src/superio/winbond/w83627hf/superio.c +++ b/src/superio/winbond/w83627hf/superio.c @@ -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) { |