aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-11-18 03:23:53 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-18 13:48:49 -0500
commit767813828f262679f1d9ed04deefb2e2f0768d7d (patch)
tree29e9f5c51e5c50e42402c45f340da0528243a328 /drivers/net/via-rhine.c
parentaa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0 (diff)
drivers/net/via-rhine.c: remove exceptional & on function name
In this file, function names are otherwise used as pointers without &. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index 4535e89dfff1..ec94ddf01f56 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -1150,7 +1150,7 @@ static int rhine_open(struct net_device *dev)
1150 void __iomem *ioaddr = rp->base; 1150 void __iomem *ioaddr = rp->base;
1151 int rc; 1151 int rc;
1152 1152
1153 rc = request_irq(rp->pdev->irq, &rhine_interrupt, IRQF_SHARED, dev->name, 1153 rc = request_irq(rp->pdev->irq, rhine_interrupt, IRQF_SHARED, dev->name,
1154 dev); 1154 dev);
1155 if (rc) 1155 if (rc)
1156 return rc; 1156 return rc;