aboutsummaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627hf
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-30 20:44:30 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-30 20:44:30 +0000
commit80d9804ff776c677932937ac3faf494acf378b45 (patch)
tree6c3bdad8d9311c962aa05635a5f11c82df4d72a6 /src/superio/winbond/w83627hf
parent2c32e9902c4f4a76e404a9a3e673857d5fe7835b (diff)
fix superio warnings. interesting side node: most superio .h files have no
guards. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5520 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/winbond/w83627hf')
-rw-r--r--src/superio/winbond/w83627hf/w83627hf.h2
-rw-r--r--src/superio/winbond/w83627hf/w83627hf_early_serial.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/superio/winbond/w83627hf/w83627hf.h b/src/superio/winbond/w83627hf/w83627hf.h
index fa74cbd6df..a21a2b0bfd 100644
--- a/src/superio/winbond/w83627hf/w83627hf.h
+++ b/src/superio/winbond/w83627hf/w83627hf.h
@@ -113,5 +113,7 @@
#if defined(__PRE_RAM__) && !defined(__ROMCC__)
void w83627hf_disable_dev(device_t dev);
void w83627hf_enable_dev(device_t dev, unsigned iobase);
+void w83627hf_enable_serial(device_t dev, unsigned iobase);
+void w83627hf_set_clksel_48(device_t dev);
#endif
diff --git a/src/superio/winbond/w83627hf/w83627hf_early_serial.c b/src/superio/winbond/w83627hf/w83627hf_early_serial.c
index 19734934c0..2bc6c1dddf 100644
--- a/src/superio/winbond/w83627hf/w83627hf_early_serial.c
+++ b/src/superio/winbond/w83627hf/w83627hf_early_serial.c
@@ -37,7 +37,7 @@ static void pnp_exit_ext_func_mode(device_t dev)
outb(0xaa, port);
}
-static void w83627hf_enable_serial(device_t dev, unsigned iobase)
+void w83627hf_enable_serial(device_t dev, unsigned iobase)
{
pnp_enter_ext_func_mode(dev);
pnp_set_logical_device(dev);
@@ -47,7 +47,7 @@ static void w83627hf_enable_serial(device_t dev, unsigned iobase)
pnp_exit_ext_func_mode(dev);
}
-static inline void w83627hf_set_clksel_48(device_t dev)
+void w83627hf_set_clksel_48(device_t dev)
{
unsigned port = dev >> 8;
pnp_enter_ext_func_mode(dev);