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>
This commit is contained in:
committed by
Patrick Georgi
parent
a26c153791
commit
8f6ea30597
@@ -39,7 +39,7 @@ static void rce822_init(struct device *dev)
|
|||||||
pci_write_config8(dev, 0xf9, 0x00);
|
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) {
|
if (!vendor || !device) {
|
||||||
pci_write_config32(dev, 0xac,
|
pci_write_config32(dev, 0xac,
|
||||||
|
Reference in New Issue
Block a user