diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2009-01-09 13:01:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 14:02:01 -0800 |
commit | b51414b69148433a79af5dc93463a0489492a788 (patch) | |
tree | b1583ed1e318c6f17b715c26a029418c9834b89b /net/netrom/af_netrom.c | |
parent | 004b3225c016efc90cbfe43cdf69c6331462bc56 (diff) | |
download | op-kernel-dev-b51414b69148433a79af5dc93463a0489492a788.zip op-kernel-dev-b51414b69148433a79af5dc93463a0489492a788.tar.gz |
netrom: convert to internal net_device_stats
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom/af_netrom.c')
-rw-r--r-- | net/netrom/af_netrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index e9c05b8f..cba7849 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c @@ -1432,7 +1432,7 @@ static int __init nr_proto_init(void) struct net_device *dev; sprintf(name, "nr%d", i); - dev = alloc_netdev(sizeof(struct nr_private), name, nr_setup); + dev = alloc_netdev(0, name, nr_setup); if (!dev) { printk(KERN_ERR "NET/ROM: nr_proto_init - unable to allocate device structure\n"); goto fail; |