Commit 15177052 authored by Baoyou Xie's avatar Baoyou Xie Committed by Martin K. Petersen

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: default avatarBaoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent a816b4c6
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include "ufshcd-dwc.h" #include "ufshcd-dwc.h"
#include "ufshci-dwc.h" #include "ufshci-dwc.h"
#include "tc-dwc-g210.h"
/** /**
* tc_dwc_g210_setup_40bit_rmmi() * tc_dwc_g210_setup_40bit_rmmi()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment