diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2014-07-23 10:31:11 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-26 01:17:06 +0400 |
commit | 7289f983548b24822971d7c3c2997734ff07b2f3 (patch) | |
tree | d5cbaa66b412675bcdff0f6a25f3a6b7b92a591b /drivers | |
parent | e090cc92761006c0787c2d2d4ff20dd6f52826d0 (diff) | |
download | linux-7289f983548b24822971d7c3c2997734ff07b2f3.tar.xz |
scsi: ufs: make undeclared functions static
Make undeclared functions static to suppress warnings
from sparse tool.
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index d41233914336..a450407a56ee 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -1314,7 +1314,7 @@ out: * The buf_len parameter will contain, on return, the length parameter * received on the response. */ -int ufshcd_query_descriptor(struct ufs_hba *hba, +static int ufshcd_query_descriptor(struct ufs_hba *hba, enum query_opcode opcode, enum desc_idn idn, u8 index, u8 selector, u8 *desc_buf, int *buf_len) { @@ -2018,7 +2018,8 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev) * Change queue depth according to the reason and make sure * the max. limits are not crossed. */ -int ufshcd_change_queue_depth(struct scsi_device *sdev, int depth, int reason) +static int ufshcd_change_queue_depth(struct scsi_device *sdev, + int depth, int reason) { struct ufs_hba *hba = shost_priv(sdev->host); |