dvb_class = class_simple_create(THIS_MODULE, "dvb"); 
dvb_class = class_create(THIS_MODULE, "dvb"); 
static int __init init_dvbdev(void){	int retval;	dev_t dev = MKDEV(DVB_MAJOR, 0);	if ((retval = register_chrdev_region(dev, MAX_DVB_MINORS, "DVB")) != 0) {		printk("dvb-core: unable to get major %d\n", DVB_MAJOR);		return retval;	}	cdev_init(&dvb_device_cdev, &dvb_device_fops);	if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) {		printk("dvb-core: unable to get major %d\n", DVB_MAJOR);		goto error;	}	devfs_mk_dir("dvb");	dvb_class = class_simple_create(THIS_MODULE, "dvb");	if (IS_ERR(dvb_class)) {		retval = PTR_ERR(dvb_class);		goto error;	}	return 0;error:	cdev_del(&dvb_device_cdev);	unregister_chrdev_region(dev, MAX_DVB_MINORS);	return retval;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/56b2293595b2eb52cc2aa2baf92c6cfa8265f9d5/dvbdev.c/clean/drivers/media/dvb/dvb-core/dvbdev.c