diff options
author | Sven Schnelle <svens@stackframe.org> | 2012-07-06 12:24:23 +0200 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2012-07-09 12:36:02 +0200 |
commit | 356a600907be10f5805f5fba5a40a30f97c9a0a7 (patch) | |
tree | 77d073bf06b38f00208d09fa8a1ea65c924965eb | |
parent | 6d03876affc54ff675219ed5da2f29f962d8135c (diff) | |
download | coreboot-356a600907be10f5805f5fba5a40a30f97c9a0a7.tar.xz |
servengines/pilot superio: add attribute unused
Not all users use both functions, so add __attribute__((unused))
to prevent compiler errors.
Change-Id: I8485bb9150b04d1f9fdc231152a43bcd6fc713a7
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/1193
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/superio/serverengines/pilot/early_serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/serverengines/pilot/early_serial.c b/src/superio/serverengines/pilot/early_serial.c index a2bbec481e..1389126ddd 100644 --- a/src/superio/serverengines/pilot/early_serial.c +++ b/src/superio/serverengines/pilot/early_serial.c @@ -38,7 +38,7 @@ static void pnp_exit_ext_func_mode(device_t dev) } /* Serial config is a fairly standard procedure. */ -static void pilot_enable_serial(device_t dev, u16 iobase) +static void __attribute__((unused)) pilot_enable_serial(device_t dev, u16 iobase) { pnp_enter_ext_func_mode(dev); pnp_set_logical_device(dev); @@ -47,7 +47,7 @@ static void pilot_enable_serial(device_t dev, u16 iobase) pnp_exit_ext_func_mode(dev); } -static void pilot_disable_serial(device_t dev) +static void __attribute__((unused)) pilot_disable_serial(device_t dev) { pnp_enter_ext_func_mode(dev); pnp_set_logical_device(dev); |