diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/asb100.c | 5 | ||||
-rw-r--r-- | drivers/hwmon/w83781d.c | 5 | ||||
-rw-r--r-- | drivers/hwmon/w83791d.c | 5 | ||||
-rw-r--r-- | drivers/hwmon/w83792d.c | 5 | ||||
-rw-r--r-- | drivers/hwmon/w83793.c | 5 |
5 files changed, 20 insertions, 5 deletions
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c index 8a45a2e6ba8a..8acf82977e7b 100644 --- a/drivers/hwmon/asb100.c +++ b/drivers/hwmon/asb100.c | |||
@@ -53,7 +53,10 @@ static const unsigned short normal_i2c[] = { 0x2d, I2C_CLIENT_END }; | |||
53 | 53 | ||
54 | /* Insmod parameters */ | 54 | /* Insmod parameters */ |
55 | I2C_CLIENT_INSMOD_1(asb100); | 55 | I2C_CLIENT_INSMOD_1(asb100); |
56 | I2C_CLIENT_MODULE_PARM(force_subclients, "List of subclient addresses: " | 56 | |
57 | static unsigned short force_subclients[4]; | ||
58 | module_param_array(force_subclients, short, NULL, 0); | ||
59 | MODULE_PARM_DESC(force_subclients, "List of subclient addresses: " | ||
57 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); | 60 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); |
58 | 61 | ||
59 | /* Voltage IN registers 0-6 */ | 62 | /* Voltage IN registers 0-6 */ |
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c index fc12bd412e3a..dbfb30c588d8 100644 --- a/drivers/hwmon/w83781d.c +++ b/drivers/hwmon/w83781d.c | |||
@@ -58,7 +58,10 @@ static const unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, | |||
58 | 0x2e, 0x2f, I2C_CLIENT_END }; | 58 | 0x2e, 0x2f, I2C_CLIENT_END }; |
59 | /* Insmod parameters */ | 59 | /* Insmod parameters */ |
60 | I2C_CLIENT_INSMOD_4(w83781d, w83782d, w83783s, as99127f); | 60 | I2C_CLIENT_INSMOD_4(w83781d, w83782d, w83783s, as99127f); |
61 | I2C_CLIENT_MODULE_PARM(force_subclients, "List of subclient addresses: " | 61 | |
62 | static unsigned short force_subclients[4]; | ||
63 | module_param_array(force_subclients, short, NULL, 0); | ||
64 | MODULE_PARM_DESC(force_subclients, "List of subclient addresses: " | ||
62 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); | 65 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); |
63 | 66 | ||
64 | static int reset; | 67 | static int reset; |
diff --git a/drivers/hwmon/w83791d.c b/drivers/hwmon/w83791d.c index 5768def8a4f2..97851c5ba3a3 100644 --- a/drivers/hwmon/w83791d.c +++ b/drivers/hwmon/w83791d.c | |||
@@ -53,7 +53,10 @@ static const unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, 0x2f, | |||
53 | 53 | ||
54 | /* Insmod parameters */ | 54 | /* Insmod parameters */ |
55 | I2C_CLIENT_INSMOD_1(w83791d); | 55 | I2C_CLIENT_INSMOD_1(w83791d); |
56 | I2C_CLIENT_MODULE_PARM(force_subclients, "List of subclient addresses: " | 56 | |
57 | static unsigned short force_subclients[4]; | ||
58 | module_param_array(force_subclients, short, NULL, 0); | ||
59 | MODULE_PARM_DESC(force_subclients, "List of subclient addresses: " | ||
57 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); | 60 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); |
58 | 61 | ||
59 | static int reset; | 62 | static int reset; |
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c index cf94c5b0c879..2be16194ddf3 100644 --- a/drivers/hwmon/w83792d.c +++ b/drivers/hwmon/w83792d.c | |||
@@ -51,7 +51,10 @@ static const unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, 0x2f, | |||
51 | 51 | ||
52 | /* Insmod parameters */ | 52 | /* Insmod parameters */ |
53 | I2C_CLIENT_INSMOD_1(w83792d); | 53 | I2C_CLIENT_INSMOD_1(w83792d); |
54 | I2C_CLIENT_MODULE_PARM(force_subclients, "List of subclient addresses: " | 54 | |
55 | static unsigned short force_subclients[4]; | ||
56 | module_param_array(force_subclients, short, NULL, 0); | ||
57 | MODULE_PARM_DESC(force_subclients, "List of subclient addresses: " | ||
55 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); | 58 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); |
56 | 59 | ||
57 | static int init; | 60 | static int init; |
diff --git a/drivers/hwmon/w83793.c b/drivers/hwmon/w83793.c index 0a739f1c69be..47dd398f7258 100644 --- a/drivers/hwmon/w83793.c +++ b/drivers/hwmon/w83793.c | |||
@@ -42,7 +42,10 @@ static const unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, 0x2f, | |||
42 | 42 | ||
43 | /* Insmod parameters */ | 43 | /* Insmod parameters */ |
44 | I2C_CLIENT_INSMOD_1(w83793); | 44 | I2C_CLIENT_INSMOD_1(w83793); |
45 | I2C_CLIENT_MODULE_PARM(force_subclients, "List of subclient addresses: " | 45 | |
46 | static unsigned short force_subclients[4]; | ||
47 | module_param_array(force_subclients, short, NULL, 0); | ||
48 | MODULE_PARM_DESC(force_subclients, "List of subclient addresses: " | ||
46 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); | 49 | "{bus, clientaddr, subclientaddr1, subclientaddr2}"); |
47 | 50 | ||
48 | static int reset; | 51 | static int reset; |