Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154034
b: refs/heads/master
c: e2ee361
h: refs/heads/master
v: v3
  • Loading branch information
Michael Chan authored and James Bottomley committed Jun 21, 2009
1 parent d93e4cb commit 35f4a34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cbdca23c8a4e6d007b62c9136ba0e5f86e069d0
refs/heads/master: e2ee3616bc334ab51e68aad6905761ca97f35559
4 changes: 2 additions & 2 deletions trunk/drivers/net/cnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2519,9 +2519,9 @@ static struct cnic_dev *init_bnx2_cnic(struct net_device *dev)
struct cnic_dev *cdev;
struct cnic_local *cp;
struct cnic_eth_dev *ethdev = NULL;
struct cnic_eth_dev *(*probe)(void *) = NULL;
struct cnic_eth_dev *(*probe)(struct net_device *) = NULL;

probe = __symbol_get("bnx2_cnic_probe");
probe = symbol_get(bnx2_cnic_probe);
if (probe) {
ethdev = (*probe)(dev);
symbol_put_addr(probe);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/cnic_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,6 @@ extern int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);

extern int cnic_unregister_driver(int ulp_type);

extern struct cnic_eth_dev *bnx2_cnic_probe(struct net_device *dev);

#endif

0 comments on commit 35f4a34

Please sign in to comment.