summaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r/sata.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 10:29:50 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:26:01 +0000
commitbcb124e0098156b0d7f03589cf631aa3738a0dae (patch)
tree2eb0311de04242b7a272067072cb9e738de5bfa1 /src/southbridge/via/vt8237r/sata.c
parentec41dae245df3fd938de0dfce3459f2a85a92753 (diff)
downloadcoreboot-bcb124e0098156b0d7f03589cf631aa3738a0dae.tar.xz
sb/via/vt8237r: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ic4137bc4008d08e0e0d002e52c353fc29355ccb1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26395 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/via/vt8237r/sata.c')
-rw-r--r--src/southbridge/via/vt8237r/sata.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/via/vt8237r/sata.c b/src/southbridge/via/vt8237r/sata.c
index 42e3e850e5..f09e19072e 100644
--- a/src/southbridge/via/vt8237r/sata.c
+++ b/src/southbridge/via/vt8237r/sata.c
@@ -92,7 +92,8 @@ static void sata_ii_init(struct device *dev)
}
-static void vt8237_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void vt8237_set_subsystem(struct device *dev, unsigned vendor,
+ unsigned device)
{
pci_write_config16(dev, 0xd4, vendor);
pci_write_config16(dev, 0xd6, device);