/* fc_lport_config() - Configure a fc_lport @lport: The local port to be configured  */
int fc_lport_config(struct fc_lport *lport)
/* fc_lport_config() - Configure a fc_lport @lport: The local port to be configured  */
int fc_lport_config(struct fc_lport *lport)
{
	INIT_DELAYED_WORK(&lport->retry_work, fc_lport_timeout);
	mutex_init(&lport->lp_mutex);
	fc_lport_state_enter(lport, LPORT_ST_DISABLED);
	fc_lport_add_fc4_type(lport, FC_TYPE_FCP);
	fc_lport_add_fc4_type(lport, FC_TYPE_CT);
	return 0;
}