hwmon: Storage class should be
Hi Tobias:
Quoted 18 lines · Tobias Klauser
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature.
Signed-off-by Tobias Klauser <[email protected]>--- drivers/hwmon/thmc50.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)drivers/hwmon/thmc50.c +0
-0@@ -52,9 +52,9 @@ I2C_CLIENT_MODULE_PARM(adm1022_temp3, "List of adapter,address pairs "*/ #define THMC50_REG_INTR 0x41
drivers/hwmon/thmc50.c I2C_CLIENT_MODULE_PARM(adm1022_temp3, "List of adapter,address pairs " · line 60
Quoted 10 lines
drivers/hwmon/thmc50.c +3
-3-const static u8 THMC50_REG_TEMP [] = {0x27 ,0x26 ,0x20 }; -const static u8 THMC50_REG_TEMP_MIN [] = {0x3A ,0x38 ,0x2C }; -const static u8 THMC50_REG_TEMP_MAX [] = {0x39 ,0x37 ,0x2B }; +static const u8 THMC50_REG_TEMP [] = {0x27 ,0x26 ,0x20 }; +static const u8 THMC50_REG_TEMP_MIN [] = {0x3A ,0x38 ,0x2C }; +static const u8 THMC50_REG_TEMP_MAX [] = {0x39 ,0x37 ,0x2B };#define THMC50_REG_CONF_nFANOFF 0x20
Applied to hwmon-2.6.git/testing, thanks.
Signature · 8 lines
Mark M. Hoffman [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors