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)
committerMichael Benedict <michaelbt@live.com>
Sun, 25 Aug 2019 14:16:47 +0000 (00:16 +1000)
* 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 c1a2c2ec1b67ff3d8780226ba7dd87c340aad3cb..0fe2a740f2b76bf773faf6a5b5db45a5a58dbce0 100644 (file)
@@ -5070,6 +5070,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 = {
@@ -5083,6 +5084,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
@@ -5097,6 +5099,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)