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>
This commit is contained in:
@@ -265,7 +265,7 @@ int __devinit mthca_init_av_table(struct mthca_dev *dev)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
void __devexit mthca_cleanup_av_table(struct mthca_dev *dev)
|
||||
void mthca_cleanup_av_table(struct mthca_dev *dev)
|
||||
{
|
||||
if (mthca_is_memfree(dev))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user