Merge tag 'asoc-fix-v4.0-rc7' into asoc-linus
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / libsas / sas_event.c
index 789c4d8bb7a7d8d7ef9310172c4b44795a2fee81..aadbd5314c5cce3e2a91b3b323aaffb4ab98fa06 100644 (file)
@@ -134,7 +134,7 @@ static void notify_port_event(struct asd_sas_phy *phy, enum port_event event)
                        &phy->port_events[event].work, ha);
 }
 
-static void notify_phy_event(struct asd_sas_phy *phy, enum phy_event event)
+void sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event)
 {
        struct sas_ha_struct *ha = phy->ha;
 
@@ -159,7 +159,7 @@ int sas_init_events(struct sas_ha_struct *sas_ha)
 
        sas_ha->notify_ha_event = notify_ha_event;
        sas_ha->notify_port_event = notify_port_event;
-       sas_ha->notify_phy_event = notify_phy_event;
+       sas_ha->notify_phy_event = sas_notify_phy_event;
 
        return 0;
 }