diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-06-23 10:38:42 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-06-23 10:38:42 -0700 |
commit | 716abb1fdf3274ac81dc404f3659cc05d8cdf606 (patch) | |
tree | 8e3c728c41abab8088e048c04e7bceddd035bc0f /drivers/infiniband/core/cma.c | |
parent | 65795efbd380a832ae508b04dba8f8e53f0b84d9 (diff) | |
download | blackbird-op-linux-716abb1fdf3274ac81dc404f3659cc05d8cdf606.tar.gz blackbird-op-linux-716abb1fdf3274ac81dc404f3659cc05d8cdf606.zip |
RDMA: Add __init/__exit macros to addr.c and cma.c
Add __init and __exit annotations to the module_init/module_exit
functions from drivers/infiniband/core/addr.c and cma.c.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/cma.c')
-rw-r--r-- | drivers/infiniband/core/cma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 851de83ff455..075317884b53 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -2960,7 +2960,7 @@ static void cma_remove_one(struct ib_device *device) kfree(cma_dev); } -static int cma_init(void) +static int __init cma_init(void) { int ret, low, high, remaining; @@ -2990,7 +2990,7 @@ err: return ret; } -static void cma_cleanup(void) +static void __exit cma_cleanup(void) { ib_unregister_client(&cma_client); unregister_netdevice_notifier(&cma_nb); |