UPSTREAM: mainboard/supermicro/h8qme_fam10: transition away from device_t
Replace the use of the old device_t definition inside mainboard/supermicro/h8qme_fam10. BUG=None BRANCH=None TEST=None 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> Change-Id: Ia03c205ce498eadf8a34749a6a21fb2d0b29c840 Reviewed-on: https://chromium-review.googlesource.com/410112 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
ed5679fd5f
commit
912dc7046b
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue