diff options
author | Florian Zumbiehl <florz@florz.de> | 2011-11-01 20:19:02 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-11-08 21:26:30 +0100 |
commit | 4a5c62cf9120e8f1a2b116efe0cbe658315834c7 (patch) | |
tree | c8c7e1042e9c898e249c6a7297b5ec200256ff95 /src/superio/winbond/w83697hf | |
parent | ab4c218379e09b7cffb1fedca92815a187844795 (diff) |
make w83697hf_set_clksel_48() non-static and add a prototype
make w83697hf_set_clksel_48() non-static and add a prototype so as to
get rid of warnings about it being unused
Change-Id: I8ae94cfd61ae4774a367f83dd37e488987e2451a
Signed-off-by: Florian Zumbiehl <florz@florz.de>
Reviewed-on: http://review.coreboot.org/380
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/superio/winbond/w83697hf')
-rw-r--r-- | src/superio/winbond/w83697hf/early_serial.c | 2 | ||||
-rw-r--r-- | src/superio/winbond/w83697hf/w83697hf.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/superio/winbond/w83697hf/early_serial.c b/src/superio/winbond/w83697hf/early_serial.c index 7731804699..2825eebd23 100644 --- a/src/superio/winbond/w83697hf/early_serial.c +++ b/src/superio/winbond/w83697hf/early_serial.c @@ -35,7 +35,7 @@ static void pnp_exit_ext_func_mode(device_t dev) outb(0xaa, port); } -static void w83697hf_set_clksel_48(device_t dev) +void w83697hf_set_clksel_48(device_t dev) { u8 reg8; diff --git a/src/superio/winbond/w83697hf/w83697hf.h b/src/superio/winbond/w83697hf/w83697hf.h index 0eeb37c9c9..6488dd3925 100644 --- a/src/superio/winbond/w83697hf/w83697hf.h +++ b/src/superio/winbond/w83697hf/w83697hf.h @@ -32,4 +32,8 @@ #define W83697HF_ACPI 10 /* ACPI */ #define W83697HF_HWM 11 /* Hardware monitor */ +#ifndef __ROMCC__ +void w83697hf_set_clksel_48(device_t); +#endif + #endif |