diff options
author | Roland Dreier <roland@purestorage.com> | 2011-08-12 13:16:52 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-08-22 15:26:32 -0400 |
commit | 4e0f05297ff615a9a4e269da301ff77f660a3ab0 (patch) | |
tree | d0cc6e5419248685907afe0a693e25de1fdd7f98 /drivers/target/tcm_fc | |
parent | f15ea5780d08e4c96930c0d607d05e480ec588c8 (diff) |
tcm_fc: init/exit functions should not be protected by "#ifdef MODULE"
There's no need for the #ifdef protection when building into the kernel,
and in fact we need the module_init() for the initialization function to
be called.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
-rw-r--r-- | drivers/target/tcm_fc/tfc_conf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/tcm_fc/tfc_conf.c b/drivers/target/tcm_fc/tfc_conf.c index 8781d1e423df..520a8baae794 100644 --- a/drivers/target/tcm_fc/tfc_conf.c +++ b/drivers/target/tcm_fc/tfc_conf.c | |||
@@ -655,9 +655,7 @@ static void __exit ft_exit(void) | |||
655 | synchronize_rcu(); | 655 | synchronize_rcu(); |
656 | } | 656 | } |
657 | 657 | ||
658 | #ifdef MODULE | ||
659 | MODULE_DESCRIPTION("FC TCM fabric driver " FT_VERSION); | 658 | MODULE_DESCRIPTION("FC TCM fabric driver " FT_VERSION); |
660 | MODULE_LICENSE("GPL"); | 659 | MODULE_LICENSE("GPL"); |
661 | module_init(ft_init); | 660 | module_init(ft_init); |
662 | module_exit(ft_exit); | 661 | module_exit(ft_exit); |
663 | #endif /* MODULE */ | ||