aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptsas.c
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@stratus.com>2014-06-25 17:05:49 -0400
committerChristoph Hellwig <hch@lst.de>2014-07-25 17:16:57 -0400
commit5767d25f0d0933ebba111dfb6ae5c820add8d8e4 (patch)
tree36407800f13804d5af5e9a15de251815237d9c72 /drivers/message/fusion/mptsas.c
parent35b623628033548348d8005e22d8962a11b4a468 (diff)
mptfusion: mark file-private functions as static
Fixes the following sparse warnings: drivers/message/fusion/mptbase.c:7011:1: warning: symbol 'mpt_SoftResetHandler' was not declared. Should it be static? drivers/message/fusion/mptsas.c:1578:23: warning: symbol 'mptsas_refreshing_device_handles' was not declared. Should it be static? drivers/message/fusion/mptsas.c:3653:24: warning: symbol 'mptsas_expander_add' was not declared. Should it be static? drivers/message/fusion/mptsas.c:5327:1: warning: symbol 'mptsas_shutdown' was not declared. Should it be static? drivers/message/fusion/mptspi.c:624:1: warning: symbol 'mptscsih_quiesce_raid' was not declared. Should it be static? Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com> Acked-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
-rw-r--r--drivers/message/fusion/mptsas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index d636dbe172a3..a0d4218103db 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -1575,7 +1575,7 @@ mptsas_del_end_device(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info)
1575 mptsas_port_delete(ioc, phy_info->port_details); 1575 mptsas_port_delete(ioc, phy_info->port_details);
1576} 1576}
1577 1577
1578struct mptsas_phyinfo * 1578static struct mptsas_phyinfo *
1579mptsas_refreshing_device_handles(MPT_ADAPTER *ioc, 1579mptsas_refreshing_device_handles(MPT_ADAPTER *ioc,
1580 struct mptsas_devinfo *sas_device) 1580 struct mptsas_devinfo *sas_device)
1581{ 1581{
@@ -3648,7 +3648,7 @@ mptsas_send_expander_event(struct fw_event_work *fw_event)
3648 * @handle: 3648 * @handle:
3649 * 3649 *
3650 */ 3650 */
3651struct mptsas_portinfo * 3651static struct mptsas_portinfo *
3652mptsas_expander_add(MPT_ADAPTER *ioc, u16 handle) 3652mptsas_expander_add(MPT_ADAPTER *ioc, u16 handle)
3653{ 3653{
3654 struct mptsas_portinfo buffer, *port_info; 3654 struct mptsas_portinfo buffer, *port_info;
@@ -5321,7 +5321,7 @@ mptsas_probe(struct pci_dev *pdev, const struct pci_device_id *id)
5321 return error; 5321 return error;
5322} 5322}
5323 5323
5324void 5324static void
5325mptsas_shutdown(struct pci_dev *pdev) 5325mptsas_shutdown(struct pci_dev *pdev)
5326{ 5326{
5327 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); 5327 MPT_ADAPTER *ioc = pci_get_drvdata(pdev);