diff options
| author | Roland Dreier <rolandd@cisco.com> | 2006-03-29 12:36:46 -0500 |
|---|---|---|
| committer | Roland Dreier <rolandd@cisco.com> | 2006-03-29 12:36:46 -0500 |
| commit | e1f7868c80947d40ef8e1fd37323d939a9bf311c (patch) | |
| tree | 04ee4d31a49e563bbdca385b8d558d7fee2f0d47 /drivers/infiniband/hw/mthca/mthca_mr.c | |
| parent | ef12d4561900d4af37f46a8f2d97dec3c4d59bf9 (diff) | |
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_mr.c')
| -rw-r--r-- | drivers/infiniband/hw/mthca/mthca_mr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_mr.c b/drivers/infiniband/hw/mthca/mthca_mr.c index 698b621257..25e1c1db9a 100644 --- a/drivers/infiniband/hw/mthca/mthca_mr.c +++ b/drivers/infiniband/hw/mthca/mthca_mr.c | |||
| @@ -170,7 +170,7 @@ err_out: | |||
| 170 | return -ENOMEM; | 170 | return -ENOMEM; |
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | static void __devexit mthca_buddy_cleanup(struct mthca_buddy *buddy) | 173 | static void mthca_buddy_cleanup(struct mthca_buddy *buddy) |
| 174 | { | 174 | { |
| 175 | int i; | 175 | int i; |
| 176 | 176 | ||
| @@ -866,7 +866,7 @@ err_mtt_buddy: | |||
| 866 | return err; | 866 | return err; |
| 867 | } | 867 | } |
| 868 | 868 | ||
| 869 | void __devexit mthca_cleanup_mr_table(struct mthca_dev *dev) | 869 | void mthca_cleanup_mr_table(struct mthca_dev *dev) |
| 870 | { | 870 | { |
| 871 | /* XXX check if any MRs are still allocated? */ | 871 | /* XXX check if any MRs are still allocated? */ |
| 872 | if (dev->limits.fmr_reserved_mtts) | 872 | if (dev->limits.fmr_reserved_mtts) |
