summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-g41m-es2l/romstage.c
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-09-03 10:45:33 +0200
committerMartin Roth <martinroth@google.com>2016-09-13 17:16:35 +0200
commitef8021cc1b5ae1d090b51d37a2a978276e897b55 (patch)
tree4f45762c041fbe77587ccda17eb02806d212ae2b /src/mainboard/gigabyte/ga-g41m-es2l/romstage.c
parent837618bf20b93ffa4fb23db1dde510b221ce90df (diff)
downloadcoreboot-ef8021cc1b5ae1d090b51d37a2a978276e897b55.tar.xz
mainboard/gigabyte/*: transition away from device_t
Replace the use of the old device_t definition inside mainboard/gigabyte/*. Change-Id: Ied62d6234a4f6ea5f851e98a098b2c8f4e3db144 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>
Diffstat (limited to 'src/mainboard/gigabyte/ga-g41m-es2l/romstage.c')
-rw-r--r--src/mainboard/gigabyte/ga-g41m-es2l/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/romstage.c b/src/mainboard/gigabyte/ga-g41m-es2l/romstage.c
index b6be8fba7a..2503db9433 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/romstage.c
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/romstage.c
@@ -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);