summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 18:34:49 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 02:57:38 +0000
commitc3c81223379d8f3563ca4d8166c184d749e6e438 (patch)
tree14b1da5d2a40dde941df853e326455403ea4e30d
parent6572bddeff234ffba82ef90061a9f965da3435c3 (diff)
downloadcoreboot-c3c81223379d8f3563ca4d8166c184d749e6e438.tar.xz
drivers/xgi/z9s: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ia9c705d34b90ad44272a06790fbb1041029ef77d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26069 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/drivers/xgi/z9s/z9s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/xgi/z9s/z9s.c b/src/drivers/xgi/z9s/z9s.c
index dc4fd3cf19..94b4f2692d 100644
--- a/src/drivers/xgi/z9s/z9s.c
+++ b/src/drivers/xgi/z9s/z9s.c
@@ -26,7 +26,7 @@
#include "../common/xgi_coreboot.h"
#include "../common/XGIfb.h"
-static void xgi_z9s_set_resources(device_t dev)
+static void xgi_z9s_set_resources(struct device *dev)
{
/* Reserve VGA regions */
mmio_resource(dev, 3, 0xa0000 >> 10, 0x1ffff >> 10);