fs: sdfat: Add MODULE_ALIAS_FS for supported filesystems
authorPaul Keith <javelinanddart@gmail.com>
Wed, 28 Mar 2018 17:52:29 +0000 (19:52 +0200)
committerStricted <info@stricted.net>
Fri, 21 Jan 2022 17:25:47 +0000 (17:25 +0000)
* This is the proper thing to do for filesystem drivers

Change-Id: I109b201d85e324cc0a72c3fcd09df4a3e1703042
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
fs/sdfat/sdfat.c

index 1721d9da99309bb1d6b61123826916bf25b2cdf3..4da1cff7c64dfac3158b2c2f7187e9d535d28d2c 100644 (file)
@@ -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)