summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-11-16 00:41:17 +0000
committerStefan Reinauer <stepan@openbios.org>2010-11-16 00:41:17 +0000
commit0f02daf19bd74de76a7fe5da9b4d03e767c9fc47 (patch)
tree64ed8b6d3a52129829254aaab4fef1321c35c773 /src/superio
parent20c3d77d98481f62df4f54cd2b546170a81fe449 (diff)
downloadcoreboot-0f02daf19bd74de76a7fe5da9b4d03e767c9fc47.tar.xz
back out parts of #6073
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c2
-rw-r--r--src/superio/smsc/smscsuperio/smscsuperio_early_serial.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c b/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c
index 18b652e16c..bc417d86ef 100644
--- a/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c
+++ b/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c
@@ -34,7 +34,7 @@ static void pnp_exit_conf_state(device_t dev)
outb(0xaa, port);
}
-static void lpc47m15x_enable_serial(device_t dev, u16 iobase)
+static inline void lpc47m15x_enable_serial(device_t dev, u16 iobase)
{
pnp_enter_conf_state(dev);
pnp_set_logical_device(dev);
diff --git a/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c b/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
index ff47c4e331..281a35c861 100644
--- a/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
+++ b/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
@@ -33,7 +33,7 @@
* @param dev The device to use.
* @param iobase The I/O base of the serial port (usually 0x3f8/0x2f8).
*/
-static void smscsuperio_enable_serial(device_t dev, u16 iobase)
+static inline void smscsuperio_enable_serial(device_t dev, u16 iobase)
{
u16 port = dev >> 8;