aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83627ehf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83627ehf.c')
-rw-r--r--drivers/hwmon/w83627ehf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
index 956e7f830aa6..a3c642ef5c42 100644
--- a/drivers/hwmon/w83627ehf.c
+++ b/drivers/hwmon/w83627ehf.c
@@ -40,6 +40,7 @@
40#include <linux/init.h> 40#include <linux/init.h>
41#include <linux/slab.h> 41#include <linux/slab.h>
42#include <linux/i2c.h> 42#include <linux/i2c.h>
43#include <linux/i2c-isa.h>
43#include <linux/i2c-sensor.h> 44#include <linux/i2c-sensor.h>
44#include <linux/hwmon.h> 45#include <linux/hwmon.h>
45#include <linux/err.h> 46#include <linux/err.h>
@@ -847,12 +848,12 @@ static int __init sensors_w83627ehf_init(void)
847 && w83627ehf_find(0x4e, &normal_isa[0])) 848 && w83627ehf_find(0x4e, &normal_isa[0]))
848 return -ENODEV; 849 return -ENODEV;
849 850
850 return i2c_add_driver(&w83627ehf_driver); 851 return i2c_isa_add_driver(&w83627ehf_driver);
851} 852}
852 853
853static void __exit sensors_w83627ehf_exit(void) 854static void __exit sensors_w83627ehf_exit(void)
854{ 855{
855 i2c_del_driver(&w83627ehf_driver); 856 i2c_isa_del_driver(&w83627ehf_driver);
856} 857}
857 858
858MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>"); 859MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>");