diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-08-29 18:19:00 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-09-04 01:28:08 -0400 |
commit | 151770524b73816a00a785bd613ea80398b33190 (patch) | |
tree | f570136a62a3405a4b473f4373aa4f9c6deb4f78 /drivers/scsi/ufs | |
parent | a816b4c67ae68a36a8775484b09ad727e4a28e3d (diff) | |
download | linux-stable-151770524b73816a00a785bd613ea80398b33190.tar.gz linux-stable-151770524b73816a00a785bd613ea80398b33190.tar.bz2 linux-stable-151770524b73816a00a785bd613ea80398b33190.zip |
scsi: ufs: Add missing header dependencies for tc-dwc-g210
We get 2 warnings when build kernel with W=1:
drivers/scsi/ufs/tc-dwc-g210.c:261:5: warning: no previous prototype for 'tc_dwc_g210_config_40_bit' [-Wmissing-prototypes]
drivers/scsi/ufs/tc-dwc-g210.c:293:5: warning: no previous prototype for 'tc_dwc_g210_config_20_bit' [-Wmissing-prototypes]
In fact, these functions are declared in ufs/tc-dwc-g210.h, so this
patch add missing header dependencies
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r-- | drivers/scsi/ufs/tc-dwc-g210.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/tc-dwc-g210.c b/drivers/scsi/ufs/tc-dwc-g210.c index 70db6d999ca3..dc03e47f7c58 100644 --- a/drivers/scsi/ufs/tc-dwc-g210.c +++ b/drivers/scsi/ufs/tc-dwc-g210.c @@ -15,6 +15,7 @@ #include "ufshcd-dwc.h" #include "ufshci-dwc.h" +#include "tc-dwc-g210.h" /** * tc_dwc_g210_setup_40bit_rmmi() |