summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-02-22 11:51:19 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2008-02-22 11:51:19 +1100
commit25f108663db99f1a1062244e88c20c38dda42a5a (patch)
tree23275f87d746e07c91b0b9004fcb2e7d9291fa99 /include
parentc52bec61b4ec906d18dd2a1f87e2056b8f34c446 (diff)
i2c: Storage class should be before const qualifier
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: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 76014f8f3c60..2d1c608eb5db 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -598,7 +598,7 @@ I2C_CLIENT_MODULE_PARM(probe, "List of adapter,address pairs to scan " \
"additionally"); \
I2C_CLIENT_MODULE_PARM(ignore, "List of adapter,address pairs not to " \
"scan"); \
-const static struct i2c_client_address_data addr_data = { \
+static const struct i2c_client_address_data addr_data = { \
.normal_i2c = normal_i2c, \
.probe = probe, \
.ignore = ignore, \