mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
i2c: normal_i2c can be made const (remaining drivers)
Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
parent
922539a0a3
commit
2cdddeb8d7
13 changed files with 20 additions and 18 deletions
|
|
@ -112,9 +112,9 @@ static int isp1301_detach(struct i2c_client *client);
|
|||
static int isp1301_command(struct i2c_client *client, unsigned int cmd,
|
||||
void *arg);
|
||||
|
||||
static unsigned short normal_i2c[] =
|
||||
static const unsigned short normal_i2c[] =
|
||||
{ ISP1301_I2C_ADDR, ISP1301_I2C_ADDR + 1, I2C_CLIENT_END };
|
||||
static unsigned short dummy_i2c_addrlist[] = { I2C_CLIENT_END };
|
||||
static const unsigned short dummy_i2c_addrlist[] = { I2C_CLIENT_END };
|
||||
|
||||
static struct i2c_client_address_data addr_data = {
|
||||
.normal_i2c = normal_i2c,
|
||||
|
|
|
|||
Loading…
Reference in a new issue