diff options
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) | |||
2960 | kfree(cma_dev); | 2960 | kfree(cma_dev); |
2961 | } | 2961 | } |
2962 | 2962 | ||
2963 | static int cma_init(void) | 2963 | static int __init cma_init(void) |
2964 | { | 2964 | { |
2965 | int ret, low, high, remaining; | 2965 | int ret, low, high, remaining; |
2966 | 2966 | ||
@@ -2990,7 +2990,7 @@ err: | |||
2990 | return ret; | 2990 | return ret; |
2991 | } | 2991 | } |
2992 | 2992 | ||
2993 | static void cma_cleanup(void) | 2993 | static void __exit cma_cleanup(void) |
2994 | { | 2994 | { |
2995 | ib_unregister_client(&cma_client); | 2995 | ib_unregister_client(&cma_client); |
2996 | unregister_netdevice_notifier(&cma_nb); | 2996 | unregister_netdevice_notifier(&cma_nb); |