Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[pandora-kernel.git] / drivers / scsi / libsas / sas_init.c
index 7b4e916..d65bc4e 100644 (file)
@@ -114,6 +114,8 @@ int sas_register_ha(struct sas_ha_struct *sas_ha)
                }
        }
 
+       INIT_LIST_HEAD(&sas_ha->eh_done_q);
+
        return 0;
 
 Undo_ports:
@@ -144,7 +146,7 @@ static int sas_get_linkerrors(struct sas_phy *phy)
        return sas_smp_get_phy_events(phy);
 }
 
-static int sas_phy_reset(struct sas_phy *phy, int hard_reset)
+int sas_phy_reset(struct sas_phy *phy, int hard_reset)
 {
        int ret;
        enum phy_func reset_type;