i2c-core: 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 <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
Tobias Klauser 2010-01-16 20:43:12 +01:00 • committed by Jean Delvare
commit 0b2c368844

View file

@ -248,7 +248,7 @@ static const struct attribute_group *i2c_dev_attr_groups[] = {
NULL
};
const static struct dev_pm_ops i2c_device_pm_ops = {
static const struct dev_pm_ops i2c_device_pm_ops = {
.suspend = i2c_device_pm_suspend,
.resume = i2c_device_pm_resume,
};