UPSTREAM: mainboard/gigabyte/*: transition away from device_t
Replace the use of the old device_t definition inside mainboard/gigabyte/*. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16439 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: Ied62d6234a4f6ea5f851e98a098b2c8f4e3db144 Reviewed-on: https://chromium-review.googlesource.com/384990 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
28e64ef4ff
commit
b30abc87b1
3 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@
|
|||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
|
||||
static void it8728f_b75md3h_disable_reboot(device_t dev)
|
||||
static void it8728f_b75md3h_disable_reboot(pnp_devfn_t dev)
|
||||
{
|
||||
/* GPIO SIO settings */
|
||||
ite_reg_write(dev, 0xEF, 0x7E); // magic
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
|
||||
static void it8728f_b75md3v_disable_reboot(device_t dev)
|
||||
static void it8728f_b75md3v_disable_reboot(pnp_devfn_t dev)
|
||||
{
|
||||
/* GPIO SIO settings */
|
||||
ite_reg_write(dev, 0xEF, 0x7E); // magic
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
static void mb_gpio_init(void)
|
||||
{
|
||||
device_t dev;
|
||||
pci_devfn_t dev;
|
||||
|
||||
/* Southbridge GPIOs. */
|
||||
dev = PCI_DEV(0x0, 0x1f, 0x0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue