diff options
-rw-r--r-- | src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c | 2 | ||||
-rw-r--r-- | src/superio/smsc/smscsuperio/smscsuperio_early_serial.c | 2 |
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; |