diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/it87.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/pc87360.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/smsc47m1.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/w83627hf.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index b1719f4097ef..ca4f953363f4 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c | |||
@@ -707,7 +707,7 @@ static int it87_isa_attach_adapter(struct i2c_adapter *adapter) | |||
707 | } | 707 | } |
708 | 708 | ||
709 | /* SuperIO detection - will change isa_address if a chip is found */ | 709 | /* SuperIO detection - will change isa_address if a chip is found */ |
710 | static int it87_find(int *address) | 710 | static int __init it87_find(int *address) |
711 | { | 711 | { |
712 | int err = -ENODEV; | 712 | int err = -ENODEV; |
713 | 713 | ||
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c index 1f1b3ca23f6f..c66ae4f6e802 100644 --- a/drivers/hwmon/pc87360.c +++ b/drivers/hwmon/pc87360.c | |||
@@ -626,7 +626,7 @@ static DEVICE_ATTR(alarms_temp, S_IRUGO, show_temp_alarms, NULL); | |||
626 | * Device detection, registration and update | 626 | * Device detection, registration and update |
627 | */ | 627 | */ |
628 | 628 | ||
629 | static int pc87360_find(int sioaddr, u8 *devid, unsigned short *addresses) | 629 | static int __init pc87360_find(int sioaddr, u8 *devid, unsigned short *addresses) |
630 | { | 630 | { |
631 | u16 val; | 631 | u16 val; |
632 | int i; | 632 | int i; |
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c index 9da5d546e861..dab22bd75b68 100644 --- a/drivers/hwmon/smsc47m1.c +++ b/drivers/hwmon/smsc47m1.c | |||
@@ -345,7 +345,7 @@ fan_present(2); | |||
345 | 345 | ||
346 | static DEVICE_ATTR(alarms, S_IRUGO, get_alarms, NULL); | 346 | static DEVICE_ATTR(alarms, S_IRUGO, get_alarms, NULL); |
347 | 347 | ||
348 | static int smsc47m1_find(unsigned short *addr) | 348 | static int __init smsc47m1_find(unsigned short *addr) |
349 | { | 349 | { |
350 | u8 val; | 350 | u8 val; |
351 | 351 | ||
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c index f1ae0e00691b..0466cc4b760e 100644 --- a/drivers/hwmon/w83627hf.c +++ b/drivers/hwmon/w83627hf.c | |||
@@ -958,7 +958,7 @@ device_create_file(&client->dev, &dev_attr_temp##offset##_type); \ | |||
958 | } while (0) | 958 | } while (0) |
959 | 959 | ||
960 | 960 | ||
961 | static int w83627hf_find(int sioaddr, unsigned short *addr) | 961 | static int __init w83627hf_find(int sioaddr, unsigned short *addr) |
962 | { | 962 | { |
963 | u16 val; | 963 | u16 val; |
964 | 964 | ||