summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/pmbase.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/common/pmbase.c')
-rw-r--r--src/southbridge/intel/common/pmbase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/common/pmbase.c b/src/southbridge/intel/common/pmbase.c
index 2de57d6da4..8b3274f524 100644
--- a/src/southbridge/intel/common/pmbase.c
+++ b/src/southbridge/intel/common/pmbase.c
@@ -33,7 +33,7 @@
#if defined(__SIMPLE_DEVICE__)
#define PCH_LPC_DEV PCI_DEV(0, 0x1f, 0)
#else
-#define PCH_LPC_DEV dev_find_slot(0, PCI_DEVFN(0x1f, 0))
+#define PCH_LPC_DEV pcidev_on_root(0x1f, 0)
#endif
u16 lpc_get_pmbase(void)