summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/mcp55/azalia.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 10:55:18 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:26:34 +0000
commit1df39c3aca25bd6822bbd1c3146a4880f9fe2620 (patch)
tree3e874282b700681d257298681f75d91fb4721673 /src/southbridge/nvidia/mcp55/azalia.c
parentbcb124e0098156b0d7f03589cf631aa3738a0dae (diff)
downloadcoreboot-1df39c3aca25bd6822bbd1c3146a4880f9fe2620.tar.xz
nvidia/mcp55: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I48ab6d77be0201ac7b49b26e0366b6e3a1e5ac52 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26400 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/nvidia/mcp55/azalia.c')
-rw-r--r--src/southbridge/nvidia/mcp55/azalia.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/nvidia/mcp55/azalia.c b/src/southbridge/nvidia/mcp55/azalia.c
index 2cb731c7e1..cc2c729ad7 100644
--- a/src/southbridge/nvidia/mcp55/azalia.c
+++ b/src/southbridge/nvidia/mcp55/azalia.c
@@ -254,7 +254,8 @@ static void azalia_init(struct device *dev)
#endif
}
-static void azalia_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void azalia_set_subsystem(struct device *dev, unsigned vendor,
+ unsigned device)
{
if (!vendor || !device) {
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,