summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mr.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-02-04 20:20:41 -0800
committerRoland Dreier <rolandd@cisco.com>2008-02-04 20:20:41 -0800
commite8f9b2ed9882874ca96716597bd8c7113289e77b (patch)
treeab18d283baaf14da6ce4a387affd1a24f3d23336 /drivers/net/mlx4/mr.c
parent9ef9dc69d4167276c04590d67ee55de8380bc1ad (diff)
downloadtalos-obmc-linux-e8f9b2ed9882874ca96716597bd8c7113289e77b.tar.gz
talos-obmc-linux-e8f9b2ed9882874ca96716597bd8c7113289e77b.zip
mlx4_core: Fix more section mismatches
Commit 3d73c288 ("mlx4_core: Fix section mismatches") fixed some of the section mismatches introduced when error recovery was added, but there were still more cases of errory recovery code calling into __devinit code from regular .text. Fix this by getting rid of the now-incorrect __devinit annotations. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/mr.c')
-rw-r--r--drivers/net/mlx4/mr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/mr.c b/drivers/net/mlx4/mr.c
index 0c05a10bae3b..9c9e308d0917 100644
--- a/drivers/net/mlx4/mr.c
+++ b/drivers/net/mlx4/mr.c
@@ -122,7 +122,7 @@ static void mlx4_buddy_free(struct mlx4_buddy *buddy, u32 seg, int order)
spin_unlock(&buddy->lock);
}
-static int __devinit mlx4_buddy_init(struct mlx4_buddy *buddy, int max_order)
+static int mlx4_buddy_init(struct mlx4_buddy *buddy, int max_order)
{
int i, s;
OpenPOWER on IntegriCloud