diff options
Diffstat (limited to 'drivers/hwmon/smsc47b397.c')
-rw-r--r-- | drivers/hwmon/smsc47b397.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/smsc47b397.c b/drivers/hwmon/smsc47b397.c index 96b9eb40f425..0f965921b8ed 100644 --- a/drivers/hwmon/smsc47b397.c +++ b/drivers/hwmon/smsc47b397.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/ioport.h> | 31 | #include <linux/ioport.h> |
32 | #include <linux/jiffies.h> | 32 | #include <linux/jiffies.h> |
33 | #include <linux/i2c.h> | 33 | #include <linux/i2c.h> |
34 | #include <linux/i2c-isa.h> | ||
34 | #include <linux/i2c-sensor.h> | 35 | #include <linux/i2c-sensor.h> |
35 | #include <linux/hwmon.h> | 36 | #include <linux/hwmon.h> |
36 | #include <linux/err.h> | 37 | #include <linux/err.h> |
@@ -350,12 +351,12 @@ static int __init smsc47b397_init(void) | |||
350 | if ((ret = smsc47b397_find(normal_isa))) | 351 | if ((ret = smsc47b397_find(normal_isa))) |
351 | return ret; | 352 | return ret; |
352 | 353 | ||
353 | return i2c_add_driver(&smsc47b397_driver); | 354 | return i2c_isa_add_driver(&smsc47b397_driver); |
354 | } | 355 | } |
355 | 356 | ||
356 | static void __exit smsc47b397_exit(void) | 357 | static void __exit smsc47b397_exit(void) |
357 | { | 358 | { |
358 | i2c_del_driver(&smsc47b397_driver); | 359 | i2c_isa_del_driver(&smsc47b397_driver); |
359 | } | 360 | } |
360 | 361 | ||
361 | MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>"); | 362 | MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>"); |