class_device_create(dsp56k_class, MKDEV(DSP56K_MAJOR, 0), NULL, "dsp56k"); 
class_device_create(dsp56k_class, NULL, MKDEV(DSP56K_MAJOR, 0), NULL, "dsp56k"); 
static int __init dsp56k_init_driver(void){	int err = 0;	if(!MACH_IS_ATARI || !ATARIHW_PRESENT(DSP56K)) {		printk("DSP56k driver: Hardware not present\n");		return -ENODEV;	}	if(register_chrdev(DSP56K_MAJOR, "dsp56k", &dsp56k_fops)) {		printk("DSP56k driver: Unable to register driver\n");		return -ENODEV;	}	dsp56k_class = class_create(THIS_MODULE, "dsp56k");	if (IS_ERR(dsp56k_class)) {		err = PTR_ERR(dsp56k_class);		goto out_chrdev;	}	class_device_create(dsp56k_class, MKDEV(DSP56K_MAJOR, 0), NULL, "dsp56k");	err = devfs_mk_cdev(MKDEV(DSP56K_MAJOR, 0),		      S_IFCHR | S_IRUSR | S_IWUSR, "dsp56k");	if(err)		goto out_class;	printk(banner);	goto out;out_class:	class_device_destroy(dsp56k_class, MKDEV(DSP56K_MAJOR, 0));	class_destroy(dsp56k_class);out_chrdev:	unregister_chrdev(DSP56K_MAJOR, "dsp56k");out:	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53f4654272df7c51064825024340554b39c9efba/dsp56k.c/clean/drivers/char/dsp56k.c