diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 16:57:17 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-21 20:09:31 +0000 |
commit | 674f9c451f3c4eefb082c537c4cebf766aad8f57 (patch) | |
tree | 0998fe17662a34babcb71576c57e8ce2b2e4230e /src/southbridge/amd/cs5536/pirq.c | |
parent | d9edab5102fc953d2a6d606782519e16c0da6798 (diff) |
sb/amd/cs5536: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I995981fbaaf8c22889920a81faae631b3fd3b2ef
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26415
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/cs5536/pirq.c')
-rw-r--r-- | src/southbridge/amd/cs5536/pirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/cs5536/pirq.c b/src/southbridge/amd/cs5536/pirq.c index 466a2dc57e..447d285f4b 100644 --- a/src/southbridge/amd/cs5536/pirq.c +++ b/src/southbridge/amd/cs5536/pirq.c @@ -22,7 +22,7 @@ #if IS_ENABLED(CONFIG_PIRQ_ROUTE) && IS_ENABLED(CONFIG_GENERATE_PIRQ_TABLE) void pirq_assign_irqs(const unsigned char pIntAtoD[4]) { - device_t pdev; + struct device *pdev; pdev = dev_find_device(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA, 0); |