Re: [PATCH] scsi: ufs: add missing header dependencies for tc-dwc-g210

From: Martin K. Petersen
Date: Fri Sep 02 2016 - 07:10:48 EST


>>>>> "Baoyou" == Baoyou Xie <baoyou.xie@xxxxxxxxxx> writes:

Baoyou> We get 2 warnings when build kernel with W=1:
Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:261:5: warning: no previous
Baoyou> prototype for 'tc_dwc_g210_config_40_bit' [-Wmissing-prototypes]
Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:293:5: warning: no previous
Baoyou> prototype for 'tc_dwc_g210_config_20_bit' [-Wmissing-prototypes]

Baoyou> In fact, these functions are declared in ufs/tc-dwc-g210.h, so
Baoyou> this patch add missing header dependencies

Applied to 4.9/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering