Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79a54ea1 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: Constify i2c_device_id table

parent 573f26e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -719,7 +719,7 @@ static int cs4270_i2c_remove(struct i2c_client *i2c_client)
/*
 * cs4270_id - I2C device IDs supported by this driver
 */
static struct i2c_device_id cs4270_id[] = {
static const struct i2c_device_id cs4270_id[] = {
	{"cs4270", 0},
	{}
};
+1 −1
Original line number Diff line number Diff line
@@ -555,7 +555,7 @@ static struct spi_driver cs4271_spi_driver = {
#endif /* defined(CONFIG_SPI_MASTER) */

#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
static struct i2c_device_id cs4271_i2c_id[] = {
static const struct i2c_device_id cs4271_i2c_id[] = {
	{"cs4271", 0},
	{}
};