From a397089259b49464ec966deb22fe87fc17e48cf7 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 19 May 2018 10:39:20 +0200 Subject: sb/ti/pci{1x2x,i7420,xx12}: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I37c6db65be4477dabb6064c3cc7ea1c63e467d19 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26397 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/southbridge/ti/pci1x2x/pci1x2x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/southbridge/ti/pci1x2x') diff --git a/src/southbridge/ti/pci1x2x/pci1x2x.c b/src/southbridge/ti/pci1x2x/pci1x2x.c index 883f00fd41..e670a43b06 100644 --- a/src/southbridge/ti/pci1x2x/pci1x2x.c +++ b/src/southbridge/ti/pci1x2x/pci1x2x.c @@ -39,7 +39,8 @@ static void ti_pci1x2y_init(struct device *dev) pci_write_config8(dev, 0x92, pci_read_config8(dev, 0x92) | 0x02); } -static void ti_pci1x2y_set_subsystem(device_t dev, unsigned vendor, unsigned device) +static void ti_pci1x2y_set_subsystem(struct device *dev, unsigned vendor, + unsigned device) { /* * Enable change sub-vendor ID. Clear the bit 5 to enable to write -- cgit v1.2.3