scsi: ufs: ufs-exynos: Move definitions from .h to .c
authorBart Van Assche <bvanassche@acm.org>
Sun, 9 May 2021 21:38:17 +0000 (14:38 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 May 2021 20:07:23 +0000 (16:07 -0400)
commitb592d66235f5f7c2191cc0348468b343c17c3977
tree46fbc4571285b52cb2fdf736bb53d39bcbf20dbc
parent05f7f1b9ee8273eab805da3d5e2d064872aa75b1
scsi: ufs: ufs-exynos: Move definitions from .h to .c

In the Linux kernel definitions of data structures should occur in .c
files. Hence move the exynos7_uic_attr definition from a .h into a .c
file. Additionally, declare exynos_ufs_drvs static. This patch fixes the
following two sparse warnings:

drivers/scsi/ufs/ufs-exynos.h:248:28: warning: symbol 'exynos_ufs_drvs' was not declared. Should it be static?
drivers/scsi/ufs/ufs-exynos.h:250:28: warning: symbol 'exynos7_uic_attr' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20210509213817.4348-1-bvanassche@acm.org
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Kiwoong Kim <kwmad.kim@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-exynos.c
drivers/scsi/ufs/ufs-exynos.h