aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/amd8111/amd8111.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 14:45:20 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:08:19 +0000
commit39733a065df045bfbce5db2849906db195f39724 (patch)
tree0b459084d04449e06825e272f9841442befce87d /src/southbridge/amd/amd8111/amd8111.c
parent8aafbd825276cff1f61f7395c8d15bf03ee63292 (diff)
sb/amd/amd8111: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I143617bb1a4ab1812ec50155861ae2f75060851b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26409 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/amd8111/amd8111.c')
-rw-r--r--src/southbridge/amd/amd8111/amd8111.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/amd8111/amd8111.c b/src/southbridge/amd/amd8111/amd8111.c
index 2707ca6b43..c75ce0dcc8 100644
--- a/src/southbridge/amd/amd8111/amd8111.c
+++ b/src/southbridge/amd/amd8111/amd8111.c
@@ -4,10 +4,10 @@
#include <device/pci_ids.h>
#include "amd8111.h"
-void amd8111_enable(device_t dev)
+void amd8111_enable(struct device *dev)
{
- device_t lpc_dev;
- device_t bus_dev;
+ struct device *lpc_dev;
+ struct device *bus_dev;
unsigned index;
unsigned reg_old, reg;