diff options
author | David Kilroy <kilroyd@googlemail.com> | 2010-05-01 17:05:39 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-03 22:53:06 +0400 |
commit | 593ef09c9e70c92c0d76c67a1c03a5d44d3aec82 (patch) | |
tree | f15d00aa6ce35d3da828003b209cd4077cbadcec /drivers/net/wireless/orinoco/orinoco_pci.c | |
parent | b42f2074dedef559ecf72dce61a6501f9f9b273a (diff) | |
download | linux-593ef09c9e70c92c0d76c67a1c03a5d44d3aec82.tar.xz |
orinoco: allow driver to specify netdev_ops
Allow the main drivers to specify a custom version of the net_device_ops
structure. This is required by orinoco_usb to supply a separate transmit
function.
Export existing net_device_ops callbacks so that the drivers can reuse
some of the existing code.
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco_pci.c')
-rw-r--r-- | drivers/net/wireless/orinoco/orinoco_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco_pci.c b/drivers/net/wireless/orinoco/orinoco_pci.c index bda5317cc596..468197f86673 100644 --- a/drivers/net/wireless/orinoco/orinoco_pci.c +++ b/drivers/net/wireless/orinoco/orinoco_pci.c @@ -170,7 +170,7 @@ static int orinoco_pci_init_one(struct pci_dev *pdev, goto fail; } - err = orinoco_if_add(priv, 0, 0); + err = orinoco_if_add(priv, 0, 0, NULL); if (err) { printk(KERN_ERR PFX "orinoco_if_add() failed\n"); goto fail; |