netdev
[Top] [All Lists]

[PATCH] (5/16) donauboe -- use alloc_irdadev

To: Jean Tourrilhes <jt@xxxxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>
Subject: [PATCH] (5/16) donauboe -- use alloc_irdadev
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Tue, 30 Sep 2003 15:04:07 -0700
Cc: irda-users@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Organization: Open Source Development Lab
Sender: netdev-bounce@xxxxxxxxxxx
diff -Nru a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c
--- a/drivers/net/irda/donauboe.c       Tue Sep 30 11:56:29 2003
+++ b/drivers/net/irda/donauboe.c       Tue Sep 30 11:56:29 2003
@@ -1598,8 +1598,7 @@
   if ((err=pci_enable_device(pci_dev)))
     return err;
 
-  dev = alloc_netdev(sizeof (struct toshoboe_cb), "irda%d",
-                    irda_device_setup);
+  dev = alloc_irdadev(sizeof (struct toshoboe_cb));
   if (dev == NULL)
     {
       printk (KERN_ERR DRIVER_NAME ": can't allocate memory for "

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] (5/16) donauboe -- use alloc_irdadev, Stephen Hemminger <=