diff options
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/winbond/w83627hf/w83627hf_early_serial.c | 2 | ||||
-rw-r--r-- | src/superio/winbond/w83697hf/superio.c | 2 |
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; |