aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-02 22:50:27 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-02 22:50:27 -0500
commitaa2ba5f1082dc705745899584aac8416d710c056 (patch)
treebde0bf4aff036c6bac19a0212194ae1092afb3c9 /drivers/net/xen-netfront.c
parent68024541e2e5a8f35e281daaa5068a29e2a538a5 (diff)
parentf6f7b52e2f6149d2ee365717afff315b05720162 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/ixgbe/ixgbe_main.c drivers/net/smc91x.c
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r--drivers/net/xen-netfront.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
index 4b21bcf4af99..fe376fde4e89 100644
--- a/drivers/net/xen-netfront.c
+++ b/drivers/net/xen-netfront.c
@@ -1784,7 +1784,7 @@ static int __devexit xennet_remove(struct xenbus_device *dev)
1784 return 0; 1784 return 0;
1785} 1785}
1786 1786
1787static struct xenbus_driver netfront = { 1787static struct xenbus_driver netfront_driver = {
1788 .name = "vif", 1788 .name = "vif",
1789 .owner = THIS_MODULE, 1789 .owner = THIS_MODULE,
1790 .ids = netfront_ids, 1790 .ids = netfront_ids,
@@ -1804,7 +1804,7 @@ static int __init netif_init(void)
1804 1804
1805 printk(KERN_INFO "Initialising Xen virtual ethernet driver.\n"); 1805 printk(KERN_INFO "Initialising Xen virtual ethernet driver.\n");
1806 1806
1807 return xenbus_register_frontend(&netfront); 1807 return xenbus_register_frontend(&netfront_driver);
1808} 1808}
1809module_init(netif_init); 1809module_init(netif_init);
1810 1810
@@ -1814,7 +1814,7 @@ static void __exit netif_exit(void)
1814 if (xen_initial_domain()) 1814 if (xen_initial_domain())
1815 return; 1815 return;
1816 1816
1817 xenbus_unregister_driver(&netfront); 1817 xenbus_unregister_driver(&netfront_driver);
1818} 1818}
1819module_exit(netif_exit); 1819module_exit(netif_exit);
1820 1820