summaryrefslogtreecommitdiff
path: root/src/drivers/ricoh/rce822
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-02 22:05:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-04 10:20:37 +0000
commit8f6ea30597615ecfe12e71b359fe674e25007361 (patch)
tree23f879120929ca798af8e5b6f0fe559361d42dd3 /src/drivers/ricoh/rce822
parenta26c15379170524adda97b9171407fad06390e4d (diff)
downloadcoreboot-8f6ea30597615ecfe12e71b359fe674e25007361.tar.xz
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26013 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/ricoh/rce822')
-rw-r--r--src/drivers/ricoh/rce822/rce822.c2
1 files changed, 1 insertions, 1 deletions
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,