From: Paul Keith Date: Wed, 28 Mar 2018 17:52:29 +0000 (+0200) Subject: fs: sdfat: Add MODULE_ALIAS_FS for supported filesystems X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3ec4482443aad98a84d8d16a065628c605e0701c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fs: sdfat: Add MODULE_ALIAS_FS for supported filesystems * This is the proper thing to do for filesystem drivers Change-Id: I109b201d85e324cc0a72c3fcd09df4a3e1703042 Signed-off-by: Paul Keith --- diff --git a/fs/sdfat/sdfat.c b/fs/sdfat/sdfat.c index 1721d9da9930..4da1cff7c64d 100644 --- a/fs/sdfat/sdfat.c +++ b/fs/sdfat/sdfat.c @@ -5196,6 +5196,7 @@ static struct file_system_type sdfat_fs_type = { #endif /* CONFIG_SDFAT_DBG_IOCTL */ .fs_flags = FS_REQUIRES_DEV, }; +MODULE_ALIAS_FS("sdfat"); #ifdef CONFIG_SDFAT_USE_FOR_EXFAT static struct file_system_type exfat_fs_type = { @@ -5209,6 +5210,7 @@ static struct file_system_type exfat_fs_type = { #endif /* CONFIG_SDFAT_DBG_IOCTL */ .fs_flags = FS_REQUIRES_DEV, }; +MODULE_ALIAS_FS("exfat"); #endif /* CONFIG_SDFAT_USE_FOR_EXFAT */ #ifdef CONFIG_SDFAT_USE_FOR_VFAT @@ -5223,6 +5225,7 @@ static struct file_system_type vfat_fs_type = { #endif /* CONFIG_SDFAT_DBG_IOCTL */ .fs_flags = FS_REQUIRES_DEV, }; +MODULE_ALIAS_FS("vfat"); #endif /* CONFIG_SDFAT_USE_FOR_VFAT */ static int __init init_sdfat_fs(void)