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>
This commit is contained in:
Elyes HAOUAS 2018-05-04 18:34:49 +02:00 committed by Martin Roth
parent 6572bddeff
commit c3c8122337
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
#include "../common/xgi_coreboot.h" #include "../common/xgi_coreboot.h"
#include "../common/XGIfb.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 */ /* Reserve VGA regions */
mmio_resource(dev, 3, 0xa0000 >> 10, 0x1ffff >> 10); mmio_resource(dev, 3, 0xa0000 >> 10, 0x1ffff >> 10);