From eea66b7c3534d2959be482fc97b84d656c5bb953 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 7 Apr 2010 15:32:52 +0000 Subject: no warnings day Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5371 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/winbond/w83627hf/w83627hf_early_serial.c | 2 +- src/superio/winbond/w83697hf/superio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/superio/winbond') 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; -- cgit v1.2.3