]> git.hungrycats.org Git - linux/commitdiff
[ARM] Fix allocation of 8390 ethernet device structure in etherh.
authorRussell King <rmk@flint.arm.linux.org.uk>
Sat, 10 Jul 2004 15:53:29 +0000 (16:53 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 10 Jul 2004 15:53:29 +0000 (16:53 +0100)
drivers/net/arm/etherh.c

index 464119ee1330e97ceb1f4d3a21bbd1cdc395db64..d861c54a7766aff4ec1f0f5c6863b8b58b695ceb 100644 (file)
@@ -574,7 +574,7 @@ etherh_probe(struct expansion_card *ec, const struct ecard_id *id)
        if (ret)
                goto out;
 
-       dev = alloc_ei_netdev();
+       dev = __alloc_ei_netdev(sizeof(struct etherh_priv));
        if (!dev) {
                ret = -ENOMEM;
                goto release;