summaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-07 15:32:52 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-07 15:32:52 +0000
commiteea66b7c3534d2959be482fc97b84d656c5bb953 (patch)
treed74d175312eb5a68ba5faf96a00c4a340a420e45 /src/superio/winbond
parente9de1e2609dfeab0b638b1e8facd642a88428745 (diff)
downloadcoreboot-eea66b7c3534d2959be482fc97b84d656c5bb953.tar.xz
no warnings day
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5371 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83627hf/w83627hf_early_serial.c2
-rw-r--r--src/superio/winbond/w83697hf/superio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/winbond/w83627hf/w83627hf_early_serial.c b/src/superio/winbond/w83627hf/w83627hf_early_serial.c
index c7ec012694..19734934c0 100644
--- a/src/superio/winbond/w83627hf/w83627hf_early_serial.c
+++ b/src/superio/winbond/w83627hf/w83627hf_early_serial.c
@@ -47,7 +47,7 @@ static void w83627hf_enable_serial(device_t dev, unsigned iobase)
pnp_exit_ext_func_mode(dev);
}
-static void w83627hf_set_clksel_48(device_t dev)
+static inline void w83627hf_set_clksel_48(device_t dev)
{
unsigned port = dev >> 8;
pnp_enter_ext_func_mode(dev);
diff --git a/src/superio/winbond/w83697hf/superio.c b/src/superio/winbond/w83697hf/superio.c
index c5108250b1..53e2a2bddb 100644
--- a/src/superio/winbond/w83697hf/superio.c
+++ b/src/superio/winbond/w83697hf/superio.c
@@ -44,7 +44,7 @@ static void pnp_exit_ext_func_mode(device_t dev)
static void w83697hf_init(device_t dev)
{
struct superio_winbond_w83697hf_config *conf;
- struct resource *res0, *res1;
+ struct resource *res0;
if (!dev->enabled)
return;