diff options
Diffstat (limited to 'drivers/net/cnic.c')
-rw-r--r-- | drivers/net/cnic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cnic.c b/drivers/net/cnic.c index 4869d77cbe91..ecde186fccd6 100644 --- a/drivers/net/cnic.c +++ b/drivers/net/cnic.c | |||
@@ -2543,7 +2543,7 @@ static struct cnic_dev *init_bnx2_cnic(struct net_device *dev) | |||
2543 | probe = symbol_get(bnx2_cnic_probe); | 2543 | probe = symbol_get(bnx2_cnic_probe); |
2544 | if (probe) { | 2544 | if (probe) { |
2545 | ethdev = (*probe)(dev); | 2545 | ethdev = (*probe)(dev); |
2546 | symbol_put_addr(probe); | 2546 | symbol_put(bnx2_cnic_probe); |
2547 | } | 2547 | } |
2548 | if (!ethdev) | 2548 | if (!ethdev) |
2549 | return NULL; | 2549 | return NULL; |