ahb_enable_wmac(devid, wlanNum);
- dev = alloc_netdev(sizeof(struct ath_softc), "wifi%d", ether_setup);
+ dev = alloc_netdev(sizeof(struct ath_softc), "wifi%d", NET_NAME_UNKNOWN,
+ ether_setup);
if (dev == NULL) {
printk(KERN_ERR "%s: no memory for device state\n", dev_info);
goto bad2;