aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/declance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/declance.c')
-rw-r--r--drivers/net/declance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/declance.c b/drivers/net/declance.c
index f6988d7fb618..7ce3053530f9 100644
--- a/drivers/net/declance.c
+++ b/drivers/net/declance.c
@@ -1033,7 +1033,7 @@ static int __init dec_lance_probe(struct device *bdev, const int type)
1033 dev = root_lance_dev; 1033 dev = root_lance_dev;
1034 while (dev) { 1034 while (dev) {
1035 i++; 1035 i++;
1036 lp = (struct lance_private *)dev->priv; 1036 lp = netdev_priv(dev);
1037 dev = lp->next; 1037 dev = lp->next;
1038 } 1038 }
1039 snprintf(name, sizeof(name), fmt, i); 1039 snprintf(name, sizeof(name), fmt, i);