aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83627hf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83627hf.c')
-rw-r--r--drivers/hwmon/w83627hf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c
index da2f4992ee21..a2c7cea502cb 100644
--- a/drivers/hwmon/w83627hf.c
+++ b/drivers/hwmon/w83627hf.c
@@ -42,6 +42,7 @@
42#include <linux/slab.h> 42#include <linux/slab.h>
43#include <linux/jiffies.h> 43#include <linux/jiffies.h>
44#include <linux/i2c.h> 44#include <linux/i2c.h>
45#include <linux/i2c-isa.h>
45#include <linux/i2c-sensor.h> 46#include <linux/i2c-sensor.h>
46#include <linux/i2c-vid.h> 47#include <linux/i2c-vid.h>
47#include <linux/hwmon.h> 48#include <linux/hwmon.h>
@@ -1507,12 +1508,12 @@ static int __init sensors_w83627hf_init(void)
1507 } 1508 }
1508 normal_isa[0] = addr; 1509 normal_isa[0] = addr;
1509 1510
1510 return i2c_add_driver(&w83627hf_driver); 1511 return i2c_isa_add_driver(&w83627hf_driver);
1511} 1512}
1512 1513
1513static void __exit sensors_w83627hf_exit(void) 1514static void __exit sensors_w83627hf_exit(void)
1514{ 1515{
1515 i2c_del_driver(&w83627hf_driver); 1516 i2c_isa_del_driver(&w83627hf_driver);
1516} 1517}
1517 1518
1518MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl>, " 1519MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl>, "