summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/mcp55/fadt.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/fadt.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/fadt.c')
-rw-r--r--src/southbridge/nvidia/mcp55/fadt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/nvidia/mcp55/fadt.c b/src/southbridge/nvidia/mcp55/fadt.c
index cade43d3ea..8064b1258a 100644
--- a/src/southbridge/nvidia/mcp55/fadt.c
+++ b/src/southbridge/nvidia/mcp55/fadt.c
@@ -29,7 +29,7 @@ extern unsigned pm_base;
void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
{
acpi_header_t *header = &(fadt->header);
- device_t dev;
+ struct device *dev;
int is_mcp55 = 0;
dev = dev_find_device(PCI_VENDOR_ID_NVIDIA,
PCI_DEVICE_ID_NVIDIA_MCP55_LPC, 0);