summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2016-11-15 18:17:47 +0100
commitd4d265e9fe1ea9ef64482b29834f740c0e90a7ee (patch)
tree88f6b39945d7233bb52811494a26e78d31a9b824 /src
parent825b8015886f00486a7e646e55ffbc8ce4473af5 (diff)
downloadcoreboot-d4d265e9fe1ea9ef64482b29834f740c0e90a7ee.tar.xz
mainboard/via/epia-m700: transition away from device_t
Replace the use of the old device_t definition inside mainboard/via/epia-m700. Change-Id: I7a16a9f396d50279cf2bd13de72bd78e8f53f7d8 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17311 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/via/epia-m700/romstage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/via/epia-m700/romstage.c b/src/mainboard/via/epia-m700/romstage.c
index 83af4260f2..1c10115492 100644
--- a/src/mainboard/via/epia-m700/romstage.c
+++ b/src/mainboard/via/epia-m700/romstage.c
@@ -50,7 +50,7 @@
*/
static int acpi_is_wakeup_early_via_vx800(void)
{
- device_t dev;
+ pci_devfn_t dev;
u16 tmp, result;
printk(BIOS_DEBUG, "In acpi_is_wakeup_early_via_vx800\n");
@@ -76,7 +76,7 @@ static int acpi_is_wakeup_early_via_vx800(void)
/* All content of this function came from the cx700 port of coreboot. */
static void enable_mainboard_devices(void)
{
- device_t dev;
+ pci_devfn_t dev;
#if 0
/*
* Add and close this switch, since some line cause error, some
@@ -370,7 +370,7 @@ void main(unsigned long bist)
{
u16 boot_mode;
u8 rambits, Data8, Data;
- device_t device;
+ pci_devfn_t device;
/* device_t dev; */
/*