summaryrefslogtreecommitdiff
path: root/drivers/net/arcnet/com20020_cs.c
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2014-09-29 11:55:37 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-29 14:36:26 -0400
commitc51da42a6346c0c747e70a4f5ae873da1150a784 (patch)
treeb2a03fe83a1fc7f2cfb8ba864f8f93ce480e8261 /drivers/net/arcnet/com20020_cs.c
parent8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f (diff)
ARCNET: add support for multi interfaces on com20020
The com20020-pci driver is currently designed to instance one netdev with one pci device. This patch adds support to instance many cards with one pci device, depending on the device data in the private data. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet/com20020_cs.c')
-rw-r--r--drivers/net/arcnet/com20020_cs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/arcnet/com20020_cs.c b/drivers/net/arcnet/com20020_cs.c
index 1a790a20210d..057d9582132a 100644
--- a/drivers/net/arcnet/com20020_cs.c
+++ b/drivers/net/arcnet/com20020_cs.c
@@ -112,10 +112,6 @@ static void com20020_detach(struct pcmcia_device *p_dev);
/*====================================================================*/
-struct com20020_dev {
- struct net_device *dev;
-};
-
static int com20020_probe(struct pcmcia_device *p_dev)
{
struct com20020_dev *info;