summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/i5500_temp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/i5500_temp.c')
-rw-r--r--drivers/hwmon/i5500_temp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/i5500_temp.c b/drivers/hwmon/i5500_temp.c
index 400e0675a..03fa12c78 100644
--- a/drivers/hwmon/i5500_temp.c
+++ b/drivers/hwmon/i5500_temp.c
@@ -117,7 +117,7 @@ static int i5500_temp_probe(struct pci_dev *pdev,
u32 tstimer;
s8 tsfsc;
- err = pci_enable_device(pdev);
+ err = pcim_enable_device(pdev);
if (err) {
dev_err(&pdev->dev, "Failed to enable device\n");
return err;