[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200701121959.27490.amitkale@netxen.com>
Date: Fri, 12 Jan 2007 19:59:27 +0530
From: Amit Kale <amitkale@...xen.com>
To: Richard Knutsson <ricknu-0@...dent.ltu.se>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] netxen_nic_main.c: Convert pci_module_init() to pci_register_driver()
That's a good change.
Thanks.
-Amit
On Friday 12 January 2007 18:49, Richard Knutsson wrote:
> Signed-off-by: Richard Knutsson <ricknu-0@...dent.ltu.se>
> ---
>
> diff --git a/drivers/net/netxen/netxen_nic_main.c
> b/drivers/net/netxen/netxen_nic_main.c index 8a5792f..96e1bee 100644
> --- a/drivers/net/netxen/netxen_nic_main.c
> +++ b/drivers/net/netxen/netxen_nic_main.c
> @@ -1144,7 +1144,7 @@ static int __init netxen_init_module(void)
> if ((netxen_workq = create_singlethread_workqueue("netxen")) == 0)
> return -ENOMEM;
>
> - return pci_module_init(&netxen_driver);
> + return pci_register_driver(&netxen_driver);
> }
>
> module_init(netxen_init_module);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists