struct i2c_client c; char buf; int i,rc; 
struct i2c_client c; unsigned char buf; int i,rc; 
static int ir_probe(struct i2c_adapter *adap){	/* The external IR receiver is at i2c address 0x34 (0x35 for	   reads).  Future Hauppauge cards will have an internal	   receiver at 0x30 (0x31 for reads).  In theory, both can be	   fitted, and Hauppauge suggest an external overrides an	   internal.	   That's why we probe 0x1a (~0x34) first. CB	*/	static const int probe_bttv[] = { 0x1a, 0x18, 0x4b, 0x64, 0x30, -1};	static const int probe_saa7134[] = { 0x7a, -1 };	static const int probe_em2820[] = { 0x30, 0x47, -1 };	const int *probe = NULL;	struct i2c_client c; char buf; int i,rc;	switch (adap->id) {	case I2C_HW_B_BT848:		probe = probe_bttv;		break;	case I2C_HW_SAA7134:		probe = probe_saa7134;		break;	case I2C_HW_B_EM2820:		probe = probe_em2820;		break;	}	if (NULL == probe)		return 0;	memset(&c,0,sizeof(c));	c.adapter = adap;	for (i = 0; -1 != probe[i]; i++) {		c.addr = probe[i];		rc = i2c_master_recv(&c,&buf,0);		dprintk(1,"probe 0x%02x @ %s: %s\n",			probe[i], adap->name,			(0 == rc) ? "yes" : "no");		if (0 == rc) {			ir_attach(adap,probe[i],0,0);			break;		}	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/e43f14af143921ac6680aa3ddfff111bef4e034a/ir-kbd-i2c.c/clean/drivers/media/video/ir-kbd-i2c.c