aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pc87360.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pc87360.c')
-rw-r--r--drivers/hwmon/pc87360.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c
index 496549bf96b9..97ffe5b5cf83 100644
--- a/drivers/hwmon/pc87360.c
+++ b/drivers/hwmon/pc87360.c
@@ -38,6 +38,7 @@
38#include <linux/slab.h> 38#include <linux/slab.h>
39#include <linux/jiffies.h> 39#include <linux/jiffies.h>
40#include <linux/i2c.h> 40#include <linux/i2c.h>
41#include <linux/i2c-isa.h>
41#include <linux/i2c-sensor.h> 42#include <linux/i2c-sensor.h>
42#include <linux/i2c-vid.h> 43#include <linux/i2c-vid.h>
43#include <linux/hwmon.h> 44#include <linux/hwmon.h>
@@ -1344,12 +1345,12 @@ static int __init pc87360_init(void)
1344 return -ENODEV; 1345 return -ENODEV;
1345 } 1346 }
1346 1347
1347 return i2c_add_driver(&pc87360_driver); 1348 return i2c_isa_add_driver(&pc87360_driver);
1348} 1349}
1349 1350
1350static void __exit pc87360_exit(void) 1351static void __exit pc87360_exit(void)
1351{ 1352{
1352 i2c_del_driver(&pc87360_driver); 1353 i2c_isa_del_driver(&pc87360_driver);
1353} 1354}
1354 1355
1355 1356