summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/smsc/sio1036/sio1036_early_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/smsc/sio1036/sio1036_early_init.c b/src/superio/smsc/sio1036/sio1036_early_init.c
index a65f6725a5..c4a580a368 100644
--- a/src/superio/smsc/sio1036/sio1036_early_init.c
+++ b/src/superio/smsc/sio1036/sio1036_early_init.c
@@ -10,13 +10,13 @@
static inline void sio1036_enter_conf_state(pnp_devfn_t dev)
{
- u8 port = dev >> 8;
+ u16 port = dev >> 8;
outb(0x55, port);
}
static inline void sio1036_exit_conf_state(pnp_devfn_t dev)
{
- u8 port = dev >> 8;
+ u16 port = dev >> 8;
outb(0xaa, port);
}