i2c: normal_i2c can be made const (remaining drivers)

Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
Jean Delvare 2008-01-27 18:14:47 +01:00 • committed by Jean Delvare
commit 2cdddeb8d7
13 changed files with 20 additions and 18 deletions

View file

@ -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,