/* Returns 0 on success or negative error code on failure.  */
static int __init i2o_proc_fs_create(void)
/* Returns 0 on success or negative error code on failure.  */
static int __init i2o_proc_fs_create(void)
{
	struct i2o_controller *c;
	i2o_proc_dir_root = proc_mkdir("i2o", NULL);
	if (!i2o_proc_dir_root)
		return -1;
	list_for_each_entry(c, &i2o_controllers, list)
	    i2o_proc_iop_add(i2o_proc_dir_root, c);
	return 0;
}