aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/rs780/ht.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-22 00:17:41 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-23 09:31:47 +0000
commit532001ae73529d23878021129484c5bc3f24fed5 (patch)
tree5b4d3282738f9dfeda0adc3538649f51d007568c /src/southbridge/amd/rs780/ht.c
parenta211c1bf944de0de4d8ee2574f49dccafcec8954 (diff)
sb/amd/rs780: Get rid of device_t
Change-Id: Ica3b6f2d0b270930df77d528e70bd15972da8757 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26477 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/amd/rs780/ht.c')
-rw-r--r--src/southbridge/amd/rs780/ht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/rs780/ht.c b/src/southbridge/amd/rs780/ht.c
index 4bf0bef6b4..43fb899803 100644
--- a/src/southbridge/amd/rs780/ht.c
+++ b/src/southbridge/amd/rs780/ht.c
@@ -21,9 +21,9 @@
#include "rs780.h"
/* for UMA internal graphics */
-void avoid_lpc_dma_deadlock(device_t nb_dev, device_t sb_dev)
+void avoid_lpc_dma_deadlock(struct device *nb_dev, struct device *sb_dev)
{
- device_t cpu_f0;
+ struct device *cpu_f0;
u8 reg;
cpu_f0 = dev_find_slot(0, PCI_DEVFN(0x18, 0));