summaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47m10x
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/smsc/lpc47m10x')
-rw-r--r--src/superio/smsc/lpc47m10x/superio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/superio/smsc/lpc47m10x/superio.c b/src/superio/smsc/lpc47m10x/superio.c
index ec72beaa34..bbe6cc3e15 100644
--- a/src/superio/smsc/lpc47m10x/superio.c
+++ b/src/superio/smsc/lpc47m10x/superio.c
@@ -138,7 +138,7 @@ static void lpc47m10x_init(device_t dev)
if (!dev->enabled)
return;
- switch(dev->path.u.pnp.device) {
+ switch(dev->path.pnp.device) {
case LPC47M10X2_SP1:
res0 = find_resource(dev, PNP_IDX_IO0);
init_uart8250(res0->base, &conf->com1);
@@ -169,7 +169,7 @@ static void lpc47m10x_init(device_t dev)
//
static void pnp_enter_conf_state(device_t dev)
{
- outb(0x55, dev->path.u.pnp.port);
+ outb(0x55, dev->path.pnp.port);
}
//----------------------------------------------------------------------------------
@@ -180,7 +180,7 @@ static void pnp_enter_conf_state(device_t dev)
//
static void pnp_exit_conf_state(device_t dev)
{
- outb(0xaa, dev->path.u.pnp.port);
+ outb(0xaa, dev->path.pnp.port);
}
#if 0