summaryrefslogtreecommitdiff
path: root/drivers/target/sbp
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2013-02-27 08:50:56 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2013-02-28 07:12:10 +0400
commit63b91d5a492ae1cdc1ba0a0a45024718f6d1437f (patch)
tree7ed6a3f30c3fdcd8f7e806f59551ad041bd4c248 /drivers/target/sbp
parentfd3a9025c0349bc9b01d627529f54e6e1e389015 (diff)
downloadlinux-63b91d5a492ae1cdc1ba0a0a45024718f6d1437f.tar.xz
target: Add __exit annotation for module_exit functions
Inclues sbp_exit, fileio_module_exit, iblock_module_exit and pscsi_module_exit. Note: rd_module_exit() can not be annotated by __exit, becasue it is called by target_core_init_configfs() which is annotated by __init. Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/sbp')
-rw-r--r--drivers/target/sbp/sbp_target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/sbp/sbp_target.c b/drivers/target/sbp/sbp_target.c
index 2e8d06f198ae..9d3dadeed82f 100644
--- a/drivers/target/sbp/sbp_target.c
+++ b/drivers/target/sbp/sbp_target.c
@@ -2598,7 +2598,7 @@ static int __init sbp_init(void)
return 0;
};
-static void sbp_exit(void)
+static void __exit sbp_exit(void)
{
sbp_deregister_configfs();
};