Skip to content

Commit 37dd4ab

Browse files
alim-akhtarmartinkpetersen
authored andcommitted
scsi: ufs: host: ufs-exynos: Make fsd_ufs_drvs static
struct fsd_ufs_drvs is not used outside this file, so make it static. This fixes sparse warning: drivers/ufs/host/ufs-exynos.c:1721:28: sparse: sparse: symbol 'fsd_ufs_drvs' was not declared. Should it be static? Link: https://lore.kernel.org/r/[email protected] Fixes: 216f74e ("scsi: ufs: host: ufs-exynos: Add support for FSD UFS HCI") Reported-by: kernel test robot <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Alim Akhtar <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 7dd6f4a commit 37dd4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ufs/host/ufs-exynos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ static struct exynos_ufs_uic_attr fsd_uic_attr = {
17111711
.pa_dbg_option_suite = 0x2E820183,
17121712
};
17131713

1714-
struct exynos_ufs_drv_data fsd_ufs_drvs = {
1714+
static const struct exynos_ufs_drv_data fsd_ufs_drvs = {
17151715
.uic_attr = &fsd_uic_attr,
17161716
.quirks = UFSHCD_QUIRK_PRDT_BYTE_GRAN |
17171717
UFSHCI_QUIRK_BROKEN_REQ_LIST_CLR |

0 commit comments

Comments
 (0)