summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sr5650/ht.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-22 00:14:53 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-23 09:30:20 +0000
commita211c1bf944de0de4d8ee2574f49dccafcec8954 (patch)
tree489e4e63f09e83fe28ae00df3fe35850b2376439 /src/southbridge/amd/sr5650/ht.c
parentf129aed5c2797f483b9872447fd2c70cc7d1bb73 (diff)
sb/amd/sr5650: Get rid of device_t
Change-Id: If03864d5e32dfc4a2e5e11a96a4df62699ca4392 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26474 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/amd/sr5650/ht.c')
-rw-r--r--src/southbridge/amd/sr5650/ht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/sr5650/ht.c b/src/southbridge/amd/sr5650/ht.c
index b79efc28be..563c67deb0 100644
--- a/src/southbridge/amd/sr5650/ht.c
+++ b/src/southbridge/amd/sr5650/ht.c
@@ -177,8 +177,8 @@ static void sr5690_set_resources(struct device *dev)
if (IS_ENABLED(CONFIG_EXT_CONF_SUPPORT)) {
uint32_t reg;
- device_t amd_ht_cfg_dev;
- device_t amd_addr_map_dev;
+ struct device *amd_ht_cfg_dev;
+ struct device *amd_addr_map_dev;
resource_t res_base;
resource_t res_end;
uint32_t base;