diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-18 08:31:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-18 08:31:34 -0300 |
commit | 2d0abb67a8d568f7bfd5ae1814cf1f34757237da (patch) | |
tree | 5d5095b08d7c611e1dfc77a7af3391ca7bd86be0 /linux/drivers/media/video/mxb.c | |
parent | 1bbb3db56cffd24a689fe904034f3a9ac65ff2d4 (diff) | |
download | mediapointer-dvb-s2-2d0abb67a8d568f7bfd5ae1814cf1f34757237da.tar.gz mediapointer-dvb-s2-2d0abb67a8d568f7bfd5ae1814cf1f34757237da.tar.bz2 |
renamed I2C_foo addresses to I2C_ADDR_foo
From: Mauro Carvalho Chehab <mchehab@infradead.org>
I2C_foo were used for some i2c addresses. Bad, since those constants could
mean other i2c chip things.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/mxb.c')
-rw-r--r-- | linux/drivers/media/video/mxb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/mxb.c b/linux/drivers/media/video/mxb.c index cedefda72..ac1c22ef7 100644 --- a/linux/drivers/media/video/mxb.c +++ b/linux/drivers/media/video/mxb.c @@ -200,13 +200,13 @@ static int mxb_probe(struct saa7146_dev* dev) /* loop through all i2c-devices on the bus and look who is there */ list_for_each(item,&mxb->i2c_adapter.clients) { client = list_entry(item, struct i2c_client, list); - if( I2C_TEA6420_1 == client->addr ) + if( I2C_ADDR_TEA6420_1 == client->addr ) mxb->tea6420_1 = client; - if( I2C_TEA6420_2 == client->addr ) + if( I2C_ADDR_TEA6420_2 == client->addr ) mxb->tea6420_2 = client; if( I2C_TEA6415C_2 == client->addr ) mxb->tea6415c = client; - if( I2C_TDA9840 == client->addr ) + if( I2C_ADDR_TDA9840 == client->addr ) mxb->tda9840 = client; if( I2C_SAA7111 == client->addr ) mxb->saa7111a = client; |