diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-03 04:27:34 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:03:10 -0500 |
commit | dd2e5a156525f11754d9b1e0583f6bb49c253d62 (patch) | |
tree | f64b680eec9c4ca7da4fe635031a94a3bbf5ebee /drivers/net/pcmcia/pcnet_cs.c | |
parent | 6838b03fc6564ea07d0cd87ea6e198d90ab1fc3e (diff) |
pcmcia: remove deprecated handle_to_dev() macro
Update remaining users and remove deprecated handle_to_dev() macro
CC: Harald Welte <laforge@gnumonks.org>
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-serial@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/pcmcia/pcnet_cs.c')
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index d06a0ce7cb89..30baee7b86a2 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -646,7 +646,7 @@ static int pcnet_config(struct pcmcia_device *link) | |||
646 | mii_phy_probe(dev); | 646 | mii_phy_probe(dev); |
647 | 647 | ||
648 | link->dev_node = &info->node; | 648 | link->dev_node = &info->node; |
649 | SET_NETDEV_DEV(dev, &handle_to_dev(link)); | 649 | SET_NETDEV_DEV(dev, &link->dev); |
650 | 650 | ||
651 | if (register_netdev(dev) != 0) { | 651 | if (register_netdev(dev) != 0) { |
652 | printk(KERN_NOTICE "pcnet_cs: register_netdev() failed\n"); | 652 | printk(KERN_NOTICE "pcnet_cs: register_netdev() failed\n"); |