if (IS_ERR(class_device_create(hpsb_protocol_class, MKDEV( 
if (IS_ERR(class_device_create(hpsb_protocol_class, NULL, MKDEV( 
static int __init init_raw1394(void){	int ret = 0;	hpsb_register_highlevel(&raw1394_highlevel);	if (IS_ERR(class_device_create(hpsb_protocol_class, MKDEV(		IEEE1394_MAJOR,	IEEE1394_MINOR_BLOCK_RAW1394 * 16), 		NULL, RAW1394_DEVICE_NAME))) {		ret = -EFAULT;		goto out_unreg;	}		devfs_mk_cdev(MKDEV(		IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_RAW1394 * 16),		S_IFCHR | S_IRUSR | S_IWUSR, RAW1394_DEVICE_NAME);	cdev_init(&raw1394_cdev, &raw1394_fops);	raw1394_cdev.owner = THIS_MODULE;	kobject_set_name(&raw1394_cdev.kobj, RAW1394_DEVICE_NAME);	ret = cdev_add(&raw1394_cdev, IEEE1394_RAW1394_DEV, 1);	if (ret) {		HPSB_ERR("raw1394 failed to register minor device block");		goto out_dev;	}	HPSB_INFO("raw1394: /dev/%s device initialized", RAW1394_DEVICE_NAME);	ret = hpsb_register_protocol(&raw1394_driver);	if (ret) {		HPSB_ERR("raw1394: failed to register protocol");		cdev_del(&raw1394_cdev);		goto out_dev;	}	goto out;out_dev:	devfs_remove(RAW1394_DEVICE_NAME);	class_device_destroy(hpsb_protocol_class,		MKDEV(IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_RAW1394 * 16));out_unreg:	hpsb_unregister_highlevel(&raw1394_highlevel);out:	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53f4654272df7c51064825024340554b39c9efba/raw1394.c/clean/drivers/ieee1394/raw1394.c