mfd: aat2870-core: constify i2c_device_id table
PATCH 1/1 mfd: aat2870-core: constify i2c_device_id table
Signed-off-by Axel Lin <[email protected]>
--- drivers/mfd/aat2870-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/aat2870-core.c +1 -1
@@ -500,7 +500,7 @@ static int aat2870_i2c_resume(struct i2c_client *client)#define aat2870_i2c_resume NULL#endif /* CONFIG_PM */ -static struct i2c_device_id aat2870_i2c_id_table[] = { +static const struct i2c_device_id aat2870_i2c_id_table[] = { {"aat2870" ,0 }, { } };
Signature · 1 line
1.7.4.1
Samuel Ortiz
AppliedHi Axel,
Quoted 4 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>--- drivers/mfd/aat2870-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/