scsi: ufs: exynos: Support module autoloading
authorWill McVicker <willmcvicker@google.com>
Tue, 9 Apr 2024 20:22:02 +0000 (13:22 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 12 Apr 2024 01:56:11 +0000 (21:56 -0400)
commit2810702f2cbc5135f97e381edbdff2553e257ca5
tree77a5b4cc119b088617a55be3119eaef6e15543d0
parent13c28be58c2bdb12e554e01b0e35621060068b11
scsi: ufs: exynos: Support module autoloading

Export the module alias information using the MODULE_DEVICE_TABLE() macro
in order to support auto-loading this module for devices that support it.

$ modinfo -F alias out/linux/drivers/ufs/host/ufs-exynos.ko
of:N*T*Ctesla,fsd-ufsC*
of:N*T*Ctesla,fsd-ufs
of:N*T*Csamsung,exynosautov9-ufs-vhC*
of:N*T*Csamsung,exynosautov9-ufs-vh
of:N*T*Csamsung,exynosautov9-ufsC*
of:N*T*Csamsung,exynosautov9-ufs
of:N*T*Csamsung,exynos7-ufsC*
of:N*T*Csamsung,exynos7-ufs

Signed-off-by: Will McVicker <willmcvicker@google.com>
Link: https://lore.kernel.org/r/20240409202203.1308163-1-willmcvicker@google.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-exynos.c