cnic: Fix symbol_put_addr() panic on ia64.
[pandora-kernel.git] / drivers / net / cnic.c
index 4869d77..ecde186 100644 (file)
@@ -2543,7 +2543,7 @@ static struct cnic_dev *init_bnx2_cnic(struct net_device *dev)
        probe = symbol_get(bnx2_cnic_probe);
        if (probe) {
                ethdev = (*probe)(dev);
-               symbol_put_addr(probe);
+               symbol_put(bnx2_cnic_probe);
        }
        if (!ethdev)
                return NULL;