summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sr5650/sr5650.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sr5650/sr5650.c')
-rw-r--r--src/southbridge/amd/sr5650/sr5650.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6861..818b0e646c 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,13 +35,13 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
+ for (domain = all_devices; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
+ res = probe_resource(domain->bus->dev, 0xc0010058);
if (res)
return res;
}