]> err.no Git - linux-2.6/commitdiff
hwmon: (thmc50) Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Sun, 17 Feb 2008 14:39:24 +0000 (15:39 +0100)
committerMark M. Hoffman <mhoffman@lightlink.com>
Sun, 17 Feb 2008 17:11:50 +0000 (12:11 -0500)
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 <tklauser@distanz.ch>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/thmc50.c

index 04dd7699b3ac7c1735ecb82d58c45f941637c3b1..a42a03c243675d34763c6322ef442bc1c1aca0f8 100644 (file)
@@ -52,9 +52,9 @@ I2C_CLIENT_MODULE_PARM(adm1022_temp3, "List of adapter,address pairs "
  */
 #define THMC50_REG_INTR                                0x41
 
-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