aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_cq.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-03-29 09:36:46 -0800
committerRoland Dreier <rolandd@cisco.com>2006-03-29 09:36:46 -0800
commite1f7868c80947d40ef8e1fd37323d939a9bf311c (patch)
tree04ee4d31a49e563bbdca385b8d558d7fee2f0d47 /drivers/infiniband/hw/mthca/mthca_cq.c
parentIPoIB: Fix oops with raw sockets (diff)
downloadlinux-dev-e1f7868c80947d40ef8e1fd37323d939a9bf311c.tar.xz
linux-dev-e1f7868c80947d40ef8e1fd37323d939a9bf311c.zip
IB/mthca: Fix section mismatch problems
Quite a few cleanup functions in mthca were marked as __devexit. However, they could also be called from error paths during initialization, so they cannot be marked that way. Just delete all of the incorrect annotations. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_cq.c')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_cq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_cq.c b/drivers/infiniband/hw/mthca/mthca_cq.c
index 76aabc5bf371..312cf90731ea 100644
--- a/drivers/infiniband/hw/mthca/mthca_cq.c
+++ b/drivers/infiniband/hw/mthca/mthca_cq.c
@@ -973,7 +973,7 @@ int __devinit mthca_init_cq_table(struct mthca_dev *dev)
return err;
}
-void __devexit mthca_cleanup_cq_table(struct mthca_dev *dev)
+void mthca_cleanup_cq_table(struct mthca_dev *dev)
{
mthca_array_cleanup(&dev->cq_table.cq, dev->limits.num_cqs);
mthca_alloc_cleanup(&dev->cq_table.alloc);