From 8f6ea30597615ecfe12e71b359fe674e25007361 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 2 May 2018 22:05:39 +0200 Subject: [PATCH] drivers/ricoh/rce822: Get rid of device_t Use of `device_t` has been abandoned in ramstage. Change-Id: I6f6c4330ad88e013b24761a3aa1c29bc869da39d Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26013 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/ricoh/rce822/rce822.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/ricoh/rce822/rce822.c b/src/drivers/ricoh/rce822/rce822.c index 7bc3b4083f..b364946e56 100644 --- a/src/drivers/ricoh/rce822/rce822.c +++ b/src/drivers/ricoh/rce822/rce822.c @@ -39,7 +39,7 @@ static void rce822_init(struct device *dev) pci_write_config8(dev, 0xf9, 0x00); } -static void rce822_set_subsystem(device_t dev, unsigned vendor, unsigned device) +static void rce822_set_subsystem(struct device *dev, unsigned vendor, unsigned device) { if (!vendor || !device) { pci_write_config32(dev, 0xac,