net: set name_assign_type in alloc_netdev()
[linux-2.6-block.git] / drivers / misc / sgi-xp / xpnet.c
index 3fac67a5204cfa768717a00b6628079fd37f939d..557f9782c53c59f4e741204cebcf1a1bf2023109 100644 (file)
@@ -544,7 +544,8 @@ xpnet_init(void)
         * use ether_setup() to init the majority of our device
         * structure and then override the necessary pieces.
         */
-       xpnet_device = alloc_netdev(0, XPNET_DEVICE_NAME, ether_setup);
+       xpnet_device = alloc_netdev(0, XPNET_DEVICE_NAME, NET_NAME_UNKNOWN,
+                                   ether_setup);
        if (xpnet_device == NULL) {
                kfree(xpnet_broadcast_partitions);
                return -ENOMEM;