Florian Zumbiehl just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/380
-gerrit
commit c4c21e6701b72830ce291197d92e9aeef5395297 Author: Florian Zumbiehl florz@florz.de Date: Tue Nov 1 20:19:02 2011 +0100
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 --- src/superio/winbond/w83697hf/early_serial.c | 2 +- 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 7731804..2825eeb 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 0eeb37c..6488dd3 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