summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb700
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb700')
-rw-r--r--src/southbridge/amd/sb700/sb700.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb700/sb700.c b/src/southbridge/amd/sb700/sb700.c
index 1d63f5c642..b7ff58d90c 100644
--- a/src/southbridge/amd/sb700/sb700.c
+++ b/src/southbridge/amd/sb700/sb700.c
@@ -27,7 +27,7 @@ static struct device *find_sm_dev(struct device *dev, u32 devfn)
{
struct device *sm_dev;
- sm_dev = dev_find_slot(dev->bus->secondary, devfn);
+ sm_dev = pcidev_path_behind(dev->bus, devfn);
if (!sm_dev)
return sm_dev;