/* Returns pointer to the I2O controller on success or NULL if not found.  */
struct i2o_controller* i2o_find_iop(int unit)
/* Returns pointer to the I2O controller on success or NULL if not found.  */
struct i2o_controller* i2o_find_iop(int unit)
{
	struct i2o_controller *c;
	list_for_each_entry(c, &i2o_controllers, list) {
		if (c->unit == unit)
			return c;
	}
	return NULL;
}