summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-b75m-d3v
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 20:19:02 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 03:03:11 +0000
commit9981177cb8e06d5a00d22e1185a05aa38d217e33 (patch)
tree4e21a486ff2b4db0f6a841ccdc491022862509af /src/mainboard/gigabyte/ga-b75m-d3v
parent715a502c1784e7616fe2ff87232dfea3a0b1c076 (diff)
mb/gigabyte: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I37ba054022241c93c03e6c804e46f4e8a1c1143e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26084 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/gigabyte/ga-b75m-d3v')
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c b/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c
index 590e25f110..7bc353c035 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c
@@ -33,7 +33,7 @@
#include <device/pci.h>
#include <cbfs.h>
-static void mainboard_init(device_t dev)
+static void mainboard_init(struct device *dev)
{
RCBA32(0x38c8) = 0x00002005;
RCBA32(0x38c4) = 0x00802005;
@@ -72,7 +72,7 @@ static void mainboard_init(device_t dev)
// mainboard_enable is executed as first thing after
// enumerate_buses().
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;