summaryrefslogtreecommitdiff
path: root/src/mainboard/iei/pm-lx2-800-r10
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2016-11-09 23:47:46 +0100
commitaa71ee10ec5f18a608ad542acd808861dd01738b (patch)
tree1fe26b6c635a376dd105393478936557f2e7951e /src/mainboard/iei/pm-lx2-800-r10
parentcca5938edeeb4875488e623d038ef7032e60f2e9 (diff)
mainboard/iei/pm-lx2-800-r10: transition away from device_t
Replace the use of the old device_t definition inside mainboard/iei/pm-lx2-800-r10. Change-Id: I60e5b84141aa4998427c3ecaadf8fce1654b8210 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17295 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/iei/pm-lx2-800-r10')
-rw-r--r--src/mainboard/iei/pm-lx2-800-r10/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/iei/pm-lx2-800-r10/romstage.c b/src/mainboard/iei/pm-lx2-800-r10/romstage.c
index 9abeaf9627..d35e9e768d 100644
--- a/src/mainboard/iei/pm-lx2-800-r10/romstage.c
+++ b/src/mainboard/iei/pm-lx2-800-r10/romstage.c
@@ -64,7 +64,7 @@ void main(unsigned long bist)
console_init();
/* Enable COM3. */
- device_t dev = PNP_DEV(0x2e, 0x0b);
+ pnp_devfn_t dev = PNP_DEV(0x2e, 0x0b);
u16 port = dev >> 8;
outb(0x55, port);
pnp_set_logical_device(dev);