From: Tobias Klauser Date: Sat, 16 Jan 2010 19:43:12 +0000 (+0100) Subject: i2c-core: Storage class should be before const qualifier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b2c3688445ff02d3f1bfffc6983417b28f8c3da;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Jean Delvare --- diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 0ac2f90ab84..d610e995bbf 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c @@ -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, };