aboutsummaryrefslogtreecommitdiff
path: root/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/smsc/smscsuperio/smscsuperio_early_serial.c')
-rw-r--r--src/superio/smsc/smscsuperio/smscsuperio_early_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c b/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
index de2e891742..ff47c4e331 100644
--- a/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
+++ b/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
@@ -33,9 +33,9 @@
* @param dev The device to use.
* @param iobase The I/O base of the serial port (usually 0x3f8/0x2f8).
*/
-static inline void smscsuperio_enable_serial(device_t dev, uint16_t iobase)
+static void smscsuperio_enable_serial(device_t dev, u16 iobase)
{
- uint16_t port = dev >> 8;
+ u16 port = dev >> 8;
outb(0x55, port); /* Enter the configuration state. */
pnp_set_logical_device(dev);