diff options
author | David S. Miller <davem@davemloft.net> | 2009-11-06 03:55:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-06 03:55:55 -0500 |
commit | 230f9bb701d37ae9b48e96456689452978f5c439 (patch) | |
tree | 9d2690917533bbb4498c8c9df838de2d38360912 /drivers/net/virtio_net.c | |
parent | 000ba2e43f33901859fd794bb33c885909d53b3b (diff) | |
parent | 887e671f324d9898aaedb29a6ece6c853c394067 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/usb/cdc_ether.c
All CDC ethernet devices of type USB_CLASS_COMM need to use
'&mbm_info'.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 95274678fe45..22a8ca5d67d5 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -996,7 +996,7 @@ static unsigned int features[] = { | |||
996 | VIRTIO_NET_F_CTRL_RX, VIRTIO_NET_F_CTRL_VLAN, | 996 | VIRTIO_NET_F_CTRL_RX, VIRTIO_NET_F_CTRL_VLAN, |
997 | }; | 997 | }; |
998 | 998 | ||
999 | static struct virtio_driver virtio_net = { | 999 | static struct virtio_driver virtio_net_driver = { |
1000 | .feature_table = features, | 1000 | .feature_table = features, |
1001 | .feature_table_size = ARRAY_SIZE(features), | 1001 | .feature_table_size = ARRAY_SIZE(features), |
1002 | .driver.name = KBUILD_MODNAME, | 1002 | .driver.name = KBUILD_MODNAME, |
@@ -1009,12 +1009,12 @@ static struct virtio_driver virtio_net = { | |||
1009 | 1009 | ||
1010 | static int __init init(void) | 1010 | static int __init init(void) |
1011 | { | 1011 | { |
1012 | return register_virtio_driver(&virtio_net); | 1012 | return register_virtio_driver(&virtio_net_driver); |
1013 | } | 1013 | } |
1014 | 1014 | ||
1015 | static void __exit fini(void) | 1015 | static void __exit fini(void) |
1016 | { | 1016 | { |
1017 | unregister_virtio_driver(&virtio_net); | 1017 | unregister_virtio_driver(&virtio_net_driver); |
1018 | } | 1018 | } |
1019 | module_init(init); | 1019 | module_init(init); |
1020 | module_exit(fini); | 1020 | module_exit(fini); |