fs: sdfat: Add MODULE_ALIAS_FS for autoload
https://lwn.net/Articles/47412/
This commit is contained in:
parent
254cae403e
commit
479f8dc1cc
3
sdfat.c
3
sdfat.c
|
|
@ -5087,6 +5087,7 @@ static struct file_system_type sdfat_fs_type = {
|
||||||
#endif /* CONFIG_SDFAT_DBG_IOCTL */
|
#endif /* CONFIG_SDFAT_DBG_IOCTL */
|
||||||
.fs_flags = FS_REQUIRES_DEV,
|
.fs_flags = FS_REQUIRES_DEV,
|
||||||
};
|
};
|
||||||
|
MODULE_ALIAS_FS("sdfat");
|
||||||
|
|
||||||
#ifdef CONFIG_SDFAT_USE_FOR_EXFAT
|
#ifdef CONFIG_SDFAT_USE_FOR_EXFAT
|
||||||
static struct file_system_type exfat_fs_type = {
|
static struct file_system_type exfat_fs_type = {
|
||||||
|
|
@ -5100,6 +5101,7 @@ static struct file_system_type exfat_fs_type = {
|
||||||
#endif /* CONFIG_SDFAT_DBG_IOCTL */
|
#endif /* CONFIG_SDFAT_DBG_IOCTL */
|
||||||
.fs_flags = FS_REQUIRES_DEV,
|
.fs_flags = FS_REQUIRES_DEV,
|
||||||
};
|
};
|
||||||
|
MODULE_ALIAS_FS("exfat");
|
||||||
#endif /* CONFIG_SDFAT_USE_FOR_EXFAT */
|
#endif /* CONFIG_SDFAT_USE_FOR_EXFAT */
|
||||||
|
|
||||||
#ifdef CONFIG_SDFAT_USE_FOR_VFAT
|
#ifdef CONFIG_SDFAT_USE_FOR_VFAT
|
||||||
|
|
@ -5114,6 +5116,7 @@ static struct file_system_type vfat_fs_type = {
|
||||||
#endif /* CONFIG_SDFAT_DBG_IOCTL */
|
#endif /* CONFIG_SDFAT_DBG_IOCTL */
|
||||||
.fs_flags = FS_REQUIRES_DEV,
|
.fs_flags = FS_REQUIRES_DEV,
|
||||||
};
|
};
|
||||||
|
MODULE_ALIAS_FS("vfat");
|
||||||
#endif /* CONFIG_SDFAT_USE_FOR_VFAT */
|
#endif /* CONFIG_SDFAT_USE_FOR_VFAT */
|
||||||
|
|
||||||
static int __init init_sdfat_fs(void)
|
static int __init init_sdfat_fs(void)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue