- 2.6.17 port work build breaks, but the patch set is relativly stable
[linux-flexiantxendom0-3.2.10.git] / drivers / xen / netback / xenbus.c
index dd2574a..d270f09 100644 (file)
@@ -172,7 +172,7 @@ static void backend_changed(struct xenbus_watch *watch,
        if (be->netif == NULL) {
                u8 be_mac[ETH_ALEN] = { 0, 0, 0, 0, 0, 0 };
 
-               be->netif = netif_alloc(dev->otherend_id, handle, be_mac);
+               be->netif = alloc_netif(dev->otherend_id, handle, be_mac);
                if (IS_ERR(be->netif)) {
                        err = PTR_ERR(be->netif);
                        be->netif = NULL;
@@ -353,3 +353,14 @@ void netif_xenbus_init(void)
 {
        xenbus_register_backend(&netback);
 }
+
+
+/*
+ * Local variables:
+ *  c-file-style: "linux"
+ *  indent-tabs-mode: t
+ *  c-indent-level: 8
+ *  c-basic-offset: 8
+ *  tab-width: 8
+ * End:
+ */