summaryrefslogtreecommitdiff
path: root/include/ufs
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-02-09 10:49:03 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2023-02-21 18:05:21 -0500
commit473025a6b6f8a4a8de3120c78588d32cf4ba7324 (patch)
tree73d68137967968dc5643c71d3ac43eb2362e3cb6 /include/ufs
parent64fd2ba977b1b6b073bcf4c71906f820bc531421 (diff)
scsi: ufs: Make the TC G210 driver dependent on CONFIG_OF
The TC G210 driver only supports devices declared in the device tree. Hence make this driver dependent on CONFIG_OF. This patch fixes the following compiler error: drivers/ufs/host/tc-dwc-g210-pltfrm.c:36:34: error: ‘tc_dwc_g210_pltfm_match’ defined but not used [-Werror=unused-const-variable=] 36 | static const struct of_device_id tc_dwc_g210_pltfm_match[] = { | Link: https://lore.kernel.org/r/20230209184914.2762172-1-bvanassche@acm.org Cc: Joao Pinto <jpinto@synopsys.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs')
0 files changed, 0 insertions, 0 deletions