···3939MODULE_LICENSE("GPL");40404141/* Addresses to scan */4242-static unsigned short normal_i2c[] = { I2C_BT832_ALT1>>1, I2C_BT832_ALT2>>1,4242+static unsigned short normal_i2c[] = { I2C_ADDR_BT832_ALT1>>1, I2C_ADDR_BT832_ALT2>>1,4343 I2C_CLIENT_END };4444I2C_CLIENT_INSMOD;4545
+8-8
drivers/media/video/bt8xx/bttv-cards.c
···30463046 gpio_inout(0xffffff, 0);30473047 gpio = gpio_read();30483048 id = ((gpio>>10) & 63) -1;30493049- msp = bttv_I2CRead(btv, I2C_MSP3400, "MSP34xx");30493049+ msp = bttv_I2CRead(btv, I2C_ADDR_MSP3400, "MSP34xx");30503050 if (id < 32) {30513051 btv->tuner_type = miro_tunermap[id];30523052 if (0 == (gpio & 0x20)) {···3442344234433443 if (bttv_tvcards[btv->c.type].digital_mode == DIGITAL_MODE_CAMERA) {34443444 /* detect Bt832 chip for quartzsight digital camera */34453445- if ((bttv_I2CRead(btv, I2C_BT832_ALT1, "Bt832") >=0) ||34463446- (bttv_I2CRead(btv, I2C_BT832_ALT2, "Bt832") >=0))34453445+ if ((bttv_I2CRead(btv, I2C_ADDR_BT832_ALT1, "Bt832") >=0) ||34463446+ (bttv_I2CRead(btv, I2C_ADDR_BT832_ALT2, "Bt832") >=0))34473447 boot_bt832(btv);34483448 }34493449···3452345234533453 /* try to detect audio/fader chips */34543454 if (!bttv_tvcards[btv->c.type].no_msp34xx &&34553455- bttv_I2CRead(btv, I2C_MSP3400, "MSP34xx") >=0)34553455+ bttv_I2CRead(btv, I2C_ADDR_MSP3400, "MSP34xx") >=0)34563456 request_module("msp3400");3457345734583458 if (bttv_tvcards[btv->c.type].msp34xx_alt &&34593459- bttv_I2CRead(btv, I2C_MSP3400_ALT, "MSP34xx (alternate address)") >=0)34593459+ bttv_I2CRead(btv, I2C_ADDR_MSP3400_ALT, "MSP34xx (alternate address)") >=0)34603460 request_module("msp3400");3461346134623462 if (!bttv_tvcards[btv->c.type].no_tda9875 &&34633463- bttv_I2CRead(btv, I2C_TDA9875, "TDA9875") >=0)34633463+ bttv_I2CRead(btv, I2C_ADDR_TDA9875, "TDA9875") >=0)34643464 request_module("tda9875");3465346534663466 if (!bttv_tvcards[btv->c.type].no_tda7432 &&34673467- bttv_I2CRead(btv, I2C_TDA7432, "TDA7432") >=0)34673467+ bttv_I2CRead(btv, I2C_ADDR_TDA7432, "TDA7432") >=0)34683468 request_module("tda7432");3469346934703470 if (bttv_tvcards[btv->c.type].needs_tvaudio)···34753475 if (btv->tda9887_conf)34763476 tda9887 = 1;34773477 if (0 == tda9887 && 0 == bttv_tvcards[btv->c.type].has_dvb &&34783478- bttv_I2CRead(btv, I2C_TDA9887, "TDA9887") >=0)34783478+ bttv_I2CRead(btv, I2C_ADDR_TDA9887, "TDA9887") >=0)34793479 tda9887 = 1;34803480 /* Hybrid DVB card, DOES have a tda9887 */34813481 if (btv->c.type == BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE)
+3-3
drivers/media/video/mxb.c
···198198 /* loop through all i2c-devices on the bus and look who is there */199199 list_for_each(item,&mxb->i2c_adapter.clients) {200200 client = list_entry(item, struct i2c_client, list);201201- if( I2C_TEA6420_1 == client->addr )201201+ if( I2C_ADDR_TEA6420_1 == client->addr )202202 mxb->tea6420_1 = client;203203- if( I2C_TEA6420_2 == client->addr )203203+ if( I2C_ADDR_TEA6420_2 == client->addr )204204 mxb->tea6420_2 = client;205205 if( I2C_TEA6415C_2 == client->addr )206206 mxb->tea6415c = client;207207- if( I2C_TDA9840 == client->addr )207207+ if( I2C_ADDR_TDA9840 == client->addr )208208 mxb->tda9840 = client;209209 if( I2C_SAA7111 == client->addr )210210 mxb->saa7111a = client;
+1-1
drivers/media/video/tda7432.c
···71717272/* Address to scan (I2C address of this chip) */7373static unsigned short normal_i2c[] = {7474- I2C_TDA7432 >> 1,7474+ I2C_ADDR_TDA7432 >> 1,7575 I2C_CLIENT_END,7676};7777I2C_CLIENT_INSMOD;
+1-1
drivers/media/video/tda9840.c
···4343#define TEST 0x0444444545/* addresses to scan, found only at 0x42 (7-Bit) */4646-static unsigned short normal_i2c[] = { I2C_TDA9840, I2C_CLIENT_END };4646+static unsigned short normal_i2c[] = { I2C_ADDR_TDA9840, I2C_CLIENT_END };47474848/* magic definition of all other variables and things */4949I2C_CLIENT_INSMOD;
···40404141/* Addresses to scan */4242static unsigned short normal_i2c[] = {4343- I2C_TDA9875 >> 1,4343+ I2C_ADDR_TDA9875 >> 1,4444 I2C_CLIENT_END4545};4646I2C_CLIENT_INSMOD;
+1-1
drivers/media/video/tea6420.c
···4040 do { if (debug) { printk("%s: %s()[%d]: ", KBUILD_MODNAME, __FUNCTION__, __LINE__); printk(args); } } while (0)41414242/* addresses to scan, found only at 0x4c and/or 0x4d (7-Bit) */4343-static unsigned short normal_i2c[] = { I2C_TEA6420_1, I2C_TEA6420_2, I2C_CLIENT_END };4343+static unsigned short normal_i2c[] = { I2C_ADDR_TEA6420_1, I2C_ADDR_TEA6420_2, I2C_CLIENT_END };44444545/* magic definition of all other variables and things */4646I2C_CLIENT_INSMOD;