forked from luck/tmp_suning_uos_patched
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 <tklauser@distanz.ch> Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
9ddabb6700
commit
0b2c368844
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user