summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/amd8111/amd8111_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/amd8111/amd8111_smbus.c b/src/southbridge/amd/amd8111/amd8111_smbus.c
index 4b938d1eb7..bfa78b3c8a 100644
--- a/src/southbridge/amd/amd8111/amd8111_smbus.c
+++ b/src/southbridge/amd/amd8111/amd8111_smbus.c
@@ -3,7 +3,7 @@
#include <arch/io.h>
#define PM_BUS 0
-#define PM_DEVFN (AMD8111_DEVFN+3)
+#define PM_DEVFN PCI_DEVFN(0x7,3)
#define SMBUS_IO_BASE 0x1000
#define SMBHSTSTAT 0