c->classdev = class_device_create(i2o_controller_class, 0, 
c->classdev = class_device_create(i2o_controller_class, NULL, MKDEV(0,0), 
int i2o_iop_add(struct i2o_controller *c){	int rc;	if ((rc = device_add(&c->device))) {		osm_err("%s: could not add controller\n", c->name);		goto iop_reset;	}	c->classdev = class_device_create(i2o_controller_class, 0,			&c->device, "iop%d", c->unit);	if (IS_ERR(c->classdev)) {		osm_err("%s: could not add controller class\n", c->name);		goto device_del;	}	osm_info("%s: Activating I2O controller...\n", c->name);	osm_info("%s: This may take a few minutes if there are many devices\n",		 c->name);	if ((rc = i2o_iop_activate(c))) {		osm_err("%s: could not activate controller\n", c->name);		goto class_del;	}	osm_debug("%s: building sys table...\n", c->name);	if ((rc = i2o_systab_build()))		goto class_del;	osm_debug("%s: online controller...\n", c->name);	if ((rc = i2o_iop_online(c)))		goto class_del;	osm_debug("%s: getting LCT...\n", c->name);	if ((rc = i2o_exec_lct_get(c)))		goto class_del;	list_add(&c->list, &i2o_controllers);	i2o_driver_notify_controller_add_all(c);	osm_info("%s: Controller added\n", c->name);	return 0;      class_del:	class_device_unregister(c->classdev);      device_del:	device_del(&c->device);      iop_reset:	i2o_iop_reset(c);	return rc;};
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53f4654272df7c51064825024340554b39c9efba/iop.c/buggy/drivers/message/i2o/iop.c