summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/h8qme_fam10
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2016-11-10 17:00:01 +0100
commitc8a5aa5c3a63015d3afd03461554b80f3cf6b30d (patch)
tree9d1b36aaffcf9c3ab6ab271296f8964a2485f127 /src/mainboard/supermicro/h8qme_fam10
parent6fec83a2f9bf1c5ad7ac2406d15941fa9d19c066 (diff)
downloadcoreboot-c8a5aa5c3a63015d3afd03461554b80f3cf6b30d.tar.xz
mainboard/supermicro/h8qme_fam10: transition away from device_t
Replace the use of the old device_t definition inside mainboard/supermicro/h8qme_fam10. Change-Id: Ia03c205ce498eadf8a34749a6a21fb2d0b29c840 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17306 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/supermicro/h8qme_fam10')
-rw-r--r--src/mainboard/supermicro/h8qme_fam10/romstage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/h8qme_fam10/romstage.c b/src/mainboard/supermicro/h8qme_fam10/romstage.c
index 16f0d8ace0..25cf7d7d80 100644
--- a/src/mainboard/supermicro/h8qme_fam10/romstage.c
+++ b/src/mainboard/supermicro/h8qme_fam10/romstage.c
@@ -113,14 +113,14 @@ static const u8 spd_addr[] = {
#define GPIO3_DEV PNP_DEV(0x2e, W83627HF_GPIO3)
/* TODO: superio code should really not be in mainboard */
-static void pnp_enter_ext_func_mode(device_t dev)
+static void pnp_enter_ext_func_mode(pnp_devfn_t dev)
{
u16 port = dev >> 8;
outb(0x87, port);
outb(0x87, port);
}
-static void pnp_exit_ext_func_mode(device_t dev)
+static void pnp_exit_ext_func_mode(pnp_devfn_t dev)
{
u16 port = dev >> 8;
outb(0xaa, port);