diff options
Diffstat (limited to 'src/southbridge/amd/sb800/sb800.c')
-rw-r--r-- | src/southbridge/amd/sb800/sb800.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb800/sb800.c b/src/southbridge/amd/sb800/sb800.c index 8bf7937a14..bd4dc68ca2 100644 --- a/src/southbridge/amd/sb800/sb800.c +++ b/src/southbridge/amd/sb800/sb800.c @@ -28,7 +28,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; |