diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2009-01-09 14:01:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 23:02:02 +0100 |
commit | d289d120b46d9b6c68448b1d1c6d3edb94cdbde6 (patch) | |
tree | 2768cf64cea670ae2dc2ba688999e42ff54df62c /net/rose/af_rose.c | |
parent | netrom: convert to net_device_ops (diff) | |
download | linux-d289d120b46d9b6c68448b1d1c6d3edb94cdbde6.tar.xz linux-d289d120b46d9b6c68448b1d1c6d3edb94cdbde6.zip |
rose: 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/rose/af_rose.c')
-rw-r--r-- | net/rose/af_rose.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index 01392649b462..650139626581 100644 --- a/net/rose/af_rose.c +++ b/net/rose/af_rose.c @@ -1587,8 +1587,7 @@ static int __init rose_proto_init(void) char name[IFNAMSIZ]; sprintf(name, "rose%d", i); - dev = alloc_netdev(sizeof(struct net_device_stats), - name, rose_setup); + dev = alloc_netdev(0, name, rose_setup); if (!dev) { printk(KERN_ERR "ROSE: rose_proto_init - unable to allocate memory\n"); rc = -ENOMEM; |