summaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r/sata.c
diff options
context:
space:
mode:
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);