Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
exfat: fix compilation on < v3.9
Browse files Browse the repository at this point in the history
MODULE_ALIAS_FS macro was introduced with v3.9.

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
  • Loading branch information
arter97 committed Sep 14, 2019
1 parent aec9da8 commit 4d80b97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions super.c
Original file line number Diff line number Diff line change
Expand Up @@ -3816,7 +3816,9 @@ static void __exit exit_exfat_fs(void)
module_init(init_exfat_fs);
module_exit(exit_exfat_fs);

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
MODULE_ALIAS_FS("exfat");
#endif
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("FAT/exFAT filesystem support");
MODULE_AUTHOR("Samsung Electronics Co., Ltd.");

0 comments on commit 4d80b97

Please sign in to comment.