summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801ix/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801ix/thermal.c')
-rw-r--r--src/southbridge/intel/i82801ix/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801ix/thermal.c b/src/southbridge/intel/i82801ix/thermal.c
index 5f40d2ec7c..931198254d 100644
--- a/src/southbridge/intel/i82801ix/thermal.c
+++ b/src/southbridge/intel/i82801ix/thermal.c
@@ -24,7 +24,7 @@
static void thermal_init(struct device *dev)
{
- if (LPC_IS_MOBILE(dev_find_slot(0, PCI_DEVFN(0x1f, 0))))
+ if (LPC_IS_MOBILE(pcidev_on_root(0x1f, 0)))
return;
u8 reg8;