diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-30 20:30:47 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-30 20:30:47 +0000 |
commit | 95bf86be342ea43a99fc7430480d527484d938f9 (patch) | |
tree | b7c85c9d5157601a686af88af055d9f69402f3e4 /src/superio/winbond/w83627hf/w83627hf_early_init.c | |
parent | 2eac9d496d05f023413fbcee05d466d01d5c113f (diff) |
Remove some warnings. For code that is called from the mainboard romstage.c
files using prototypes is the way to go I think. It would make our life a lot
easier should we ever decide to move (some mainboards) over to not #include
all those .c files in romstage.c anymore.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/winbond/w83627hf/w83627hf_early_init.c')
-rw-r--r-- | src/superio/winbond/w83627hf/w83627hf_early_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/winbond/w83627hf/w83627hf_early_init.c b/src/superio/winbond/w83627hf/w83627hf_early_init.c index 1f580524e2..a74e10a414 100644 --- a/src/superio/winbond/w83627hf/w83627hf_early_init.c +++ b/src/superio/winbond/w83627hf/w83627hf_early_init.c @@ -23,13 +23,13 @@ #include <arch/romcc_io.h> #include "w83627hf.h" -static void w83627hf_disable_dev(device_t dev) +void w83627hf_disable_dev(device_t dev) { pnp_set_logical_device(dev); pnp_set_enable(dev, 0); } -static void w83627hf_enable_dev(device_t dev, unsigned iobase) +void w83627hf_enable_dev(device_t dev, unsigned iobase) { pnp_set_logical_device(dev); pnp_set_enable(dev, 0); |