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>
This commit is contained in:
Florian Zumbiehl 2011-11-01 20:19:02 +01:00 committed by Stefan Reinauer
parent ab4c218379
commit 4a5c62cf91
2 changed files with 5 additions and 1 deletions

View File

@ -35,7 +35,7 @@ static void pnp_exit_ext_func_mode(device_t dev)
outb(0xaa, port); outb(0xaa, port);
} }
static void w83697hf_set_clksel_48(device_t dev) void w83697hf_set_clksel_48(device_t dev)
{ {
u8 reg8; u8 reg8;

View File

@ -32,4 +32,8 @@
#define W83697HF_ACPI 10 /* ACPI */ #define W83697HF_ACPI 10 /* ACPI */
#define W83697HF_HWM 11 /* Hardware monitor */ #define W83697HF_HWM 11 /* Hardware monitor */
#ifndef __ROMCC__
void w83697hf_set_clksel_48(device_t);
#endif
#endif #endif