diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2014-05-26 09:29:11 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 14:25:13 +0400 |
commit | bdbe5d2fe67031bf51777afbfa91585efcf9dbf5 (patch) | |
tree | 2635a48c0b709905a5c418ecb0d74355a0e53f21 /drivers/scsi/ufs/ufshcd.h | |
parent | e8c8e82ae96c68cb03e0e877b5a226633d999549 (diff) | |
download | linux-bdbe5d2fe67031bf51777afbfa91585efcf9dbf5.tar.xz |
scsi: ufs: make undeclared functions static
Make undeclared functions static and declare exported symbols
to suppress warnings from sparse tool.
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: Vinayak Holikatti <vinholikatti@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.h')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index 577679a2d189..767ee9ebfaf1 100644 --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -263,6 +263,8 @@ static inline void check_upiu_size(void) GENERAL_UPIU_REQUEST_SIZE + QUERY_DESC_MAX_SIZE); } +extern int ufshcd_suspend(struct ufs_hba *hba, pm_message_t state); +extern int ufshcd_resume(struct ufs_hba *hba); extern int ufshcd_runtime_suspend(struct ufs_hba *hba); extern int ufshcd_runtime_resume(struct ufs_hba *hba); extern int ufshcd_runtime_idle(struct ufs_hba *hba); |