Commit 10aeaa6e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] com20020_cs.c doesn't compile

From: Adrian Bunk <bunk@fs.tum.de>

drivers/net/pcmcia/com20020_cs.c wasn't updated to the module owner
field changes
parent 47f7edc1
...@@ -171,14 +171,6 @@ static void flush_stale_links(void) ...@@ -171,14 +171,6 @@ static void flush_stale_links(void)
======================================================================*/ ======================================================================*/
static void com20020cs_open_close(struct net_device *dev, bool open)
{
if (open)
MOD_INC_USE_COUNT;
else
MOD_DEC_USE_COUNT;
}
static dev_link_t *com20020_attach(void) static dev_link_t *com20020_attach(void)
{ {
client_reg_t client_reg; client_reg_t client_reg;
...@@ -237,7 +229,7 @@ static dev_link_t *com20020_attach(void) ...@@ -237,7 +229,7 @@ static dev_link_t *com20020_attach(void)
lp->backplane = backplane; lp->backplane = backplane;
lp->clockp = clockp; lp->clockp = clockp;
lp->clockm = clockm & 3; lp->clockm = clockm & 3;
lp->hw.open_close_ll = com20020cs_open_close; lp->hw.owner = THIS_MODULE;
link->irq.Instance = info->dev = dev; link->irq.Instance = info->dev = dev;
link->priv = info; link->priv = info;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment