Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Baoyou Xie and committed by
Martin K. Petersen
15177052 a816b4c6

+1
+1
drivers/scsi/ufs/tc-dwc-g210.c
··· 15 15 16 16 #include "ufshcd-dwc.h" 17 17 #include "ufshci-dwc.h" 18 + #include "tc-dwc-g210.h" 18 19 19 20 /** 20 21 * tc_dwc_g210_setup_40bit_rmmi()