if (dvb_net_init(cinergyt2->adapter, &cinergyt2->dvbnet, &cinergyt2->demux.dmx)) 
if (dvb_net_init(&cinergyt2->adapter, &cinergyt2->dvbnet, &cinergyt2->demux.dmx)) 
static int cinergyt2_probe (struct usb_interface *intf,		  const struct usb_device_id *id){	struct cinergyt2 *cinergyt2;	int i, err;	if (!(cinergyt2 = kmalloc (sizeof(struct cinergyt2), GFP_KERNEL))) {		dprintk(1, "out of memory?!?\n");		return -ENOMEM;	}	memset (cinergyt2, 0, sizeof (struct cinergyt2));	usb_set_intfdata (intf, (void *) cinergyt2);	init_MUTEX(&cinergyt2->sem);	init_waitqueue_head (&cinergyt2->poll_wq);	INIT_WORK(&cinergyt2->query_work, cinergyt2_query, cinergyt2);	cinergyt2->udev = interface_to_usbdev(intf);	cinergyt2->param.cmd = CINERGYT2_EP1_SET_TUNER_PARAMETERS;	if (cinergyt2_alloc_stream_urbs (cinergyt2) < 0) {		dprintk(1, "unable to allocate stream urbs\n");		kfree(cinergyt2);		return -ENOMEM;	}	dvb_register_adapter(&cinergyt2->adapter, DRIVER_NAME, THIS_MODULE);	cinergyt2->demux.priv = cinergyt2;	cinergyt2->demux.filternum = 256;	cinergyt2->demux.feednum = 256;	cinergyt2->demux.start_feed = cinergyt2_start_feed;	cinergyt2->demux.stop_feed = cinergyt2_stop_feed;	cinergyt2->demux.dmx.capabilities = DMX_TS_FILTERING |					    DMX_SECTION_FILTERING |					    DMX_MEMORY_BASED_FILTERING;	if ((err = dvb_dmx_init(&cinergyt2->demux)) < 0) {		dprintk(1, "dvb_dmx_init() failed (err = %d)\n", err);		goto bailout;	}	cinergyt2->dmxdev.filternum = cinergyt2->demux.filternum;	cinergyt2->dmxdev.demux = &cinergyt2->demux.dmx;	cinergyt2->dmxdev.capabilities = 0;	if ((err = dvb_dmxdev_init(&cinergyt2->dmxdev, cinergyt2->adapter)) < 0) {		dprintk(1, "dvb_dmxdev_init() failed (err = %d)\n", err);		goto bailout;	}	if (dvb_net_init(cinergyt2->adapter, &cinergyt2->dvbnet, &cinergyt2->demux.dmx))		dprintk(1, "dvb_net_init() failed!\n");	dvb_register_device(cinergyt2->adapter, &cinergyt2->fedev,			    &cinergyt2_fe_template, cinergyt2,			    DVB_DEVICE_FRONTEND);#ifdef ENABLE_RC	init_input_dev(&cinergyt2->rc_input_dev);	cinergyt2->rc_input_dev.evbit[0] = BIT(EV_KEY);	cinergyt2->rc_input_dev.keycodesize = sizeof(unsigned char);	cinergyt2->rc_input_dev.keycodemax = KEY_MAX;	cinergyt2->rc_input_dev.name = DRIVER_NAME " remote control";	for (i=0; i<sizeof(rc_keys)/sizeof(rc_keys[0]); i+=3)		set_bit(rc_keys[i+2], cinergyt2->rc_input_dev.keybit);	input_register_device(&cinergyt2->rc_input_dev);	cinergyt2->rc_input_event = KEY_MAX;	INIT_WORK(&cinergyt2->rc_query_work, cinergyt2_query_rc, cinergyt2);	schedule_delayed_work(&cinergyt2->rc_query_work, HZ/2);#endif	return 0;bailout:	dvb_dmxdev_release(&cinergyt2->dmxdev);	dvb_dmx_release(&cinergyt2->demux);	dvb_unregister_adapter (cinergyt2->adapter);	cinergyt2_free_stream_urbs (cinergyt2);	kfree(cinergyt2);	return -ENOMEM;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/fdc53a6dbfea18e621dd23ed5cfb160837d7ce52/cinergyT2.c/clean/drivers/media/dvb/cinergyT2/cinergyT2.c