aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/smsc47m1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/smsc47m1.c')
-rw-r--r--drivers/hwmon/smsc47m1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c
index de7c7f804d66..b07d01ecd2e3 100644
--- a/drivers/hwmon/smsc47m1.c
+++ b/drivers/hwmon/smsc47m1.c
@@ -30,6 +30,7 @@
30#include <linux/ioport.h> 30#include <linux/ioport.h>
31#include <linux/jiffies.h> 31#include <linux/jiffies.h>
32#include <linux/i2c.h> 32#include <linux/i2c.h>
33#include <linux/i2c-isa.h>
33#include <linux/i2c-sensor.h> 34#include <linux/i2c-sensor.h>
34#include <linux/hwmon.h> 35#include <linux/hwmon.h>
35#include <linux/err.h> 36#include <linux/err.h>
@@ -592,12 +593,12 @@ static int __init sm_smsc47m1_init(void)
592 return -ENODEV; 593 return -ENODEV;
593 } 594 }
594 595
595 return i2c_add_driver(&smsc47m1_driver); 596 return i2c_isa_add_driver(&smsc47m1_driver);
596} 597}
597 598
598static void __exit sm_smsc47m1_exit(void) 599static void __exit sm_smsc47m1_exit(void)
599{ 600{
600 i2c_del_driver(&smsc47m1_driver); 601 i2c_isa_del_driver(&smsc47m1_driver);
601} 602}
602 603
603MODULE_AUTHOR("Mark D. Studebaker <mdsxyz123@yahoo.com>"); 604MODULE_AUTHOR("Mark D. Studebaker <mdsxyz123@yahoo.com>");