Commit 5ddb5e94 authored by Russell King's avatar Russell King

[ARM] Fix allocation of 8390 ethernet device structure in etherh.

parent c012ef0b
......@@ -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;
......
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