summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801jx/thermal.c')
-rw-r--r--src/southbridge/intel/i82801jx/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801jx/thermal.c b/src/southbridge/intel/i82801jx/thermal.c
index ae111a6e07..4a8ba290f3 100644
--- a/src/southbridge/intel/i82801jx/thermal.c
+++ b/src/southbridge/intel/i82801jx/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;