make w83697hf_set_clksel_48() non-static and add a prototype
authorFlorian Zumbiehl <florz@florz.de>
Tue, 1 Nov 2011 19:19:02 +0000 (20:19 +0100)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 8 Nov 2011 20:26:30 +0000 (21:26 +0100)
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>
src/superio/winbond/w83697hf/early_serial.c
src/superio/winbond/w83697hf/w83697hf.h

index 7731804699c4f745ff7949a304b7199916e395f8..2825eebd23b17838c1ff8178c648b5ece911848b 100644 (file)
@@ -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;
 
index 0eeb37c9c97b5f9998df316a959ff51e620e2894..6488dd39257a5c20655192a3a3f12d144eae13f4 100644 (file)
@@ -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