* [PATCH] defxx.c: dfx_bus_init() is __devexit not __devinit
@ 2007-10-22 17:13 Maciej W. Rozycki
2007-10-24 0:23 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Maciej W. Rozycki @ 2007-10-22 17:13 UTC (permalink / raw)
To: Andrew Morton, Jeff Garzik; +Cc: netdev, linux-kernel
The dfx_bus_uninit() call is called from dfx_unregister() which is
__devexit and which is ultimately the ->remove call for the device.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
It should be obvious. Please apply.
Maciej
patch-mips-2.6.23-rc5-20070904-defxx-devexit-0
diff -up --recursive --new-file linux-mips-2.6.23-rc5-20070904.macro/drivers/net/defxx.c linux-mips-2.6.23-rc5-20070904/drivers/net/defxx.c
--- linux-mips-2.6.23-rc5-20070904.macro/drivers/net/defxx.c 2007-09-04 04:55:41.000000000 +0000
+++ linux-mips-2.6.23-rc5-20070904/drivers/net/defxx.c 2007-10-12 00:21:35.000000000 +0000
@@ -806,7 +806,7 @@ static void __devinit dfx_bus_init(struc
* Interrupts are disabled at the adapter bus-specific logic.
*/
-static void __devinit dfx_bus_uninit(struct net_device *dev)
+static void __devexit dfx_bus_uninit(struct net_device *dev)
{
DFX_board_t *bp = netdev_priv(dev);
struct device *bdev = bp->bus_dev;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] defxx.c: dfx_bus_init() is __devexit not __devinit
2007-10-22 17:13 [PATCH] defxx.c: dfx_bus_init() is __devexit not __devinit Maciej W. Rozycki
@ 2007-10-24 0:23 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-10-24 0:23 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: Andrew Morton, netdev, linux-kernel
Maciej W. Rozycki wrote:
> The dfx_bus_uninit() call is called from dfx_unregister() which is
> __devexit and which is ultimately the ->remove call for the device.
>
> Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
> ---
> It should be obvious. Please apply.
>
> Maciej
>
> patch-mips-2.6.23-rc5-20070904-defxx-devexit-0
> diff -up --recursive --new-file linux-mips-2.6.23-rc5-20070904.macro/drivers/net/defxx.c linux-mips-2.6.23-rc5-20070904/drivers/net/defxx.c
> --- linux-mips-2.6.23-rc5-20070904.macro/drivers/net/defxx.c 2007-09-04 04:55:41.000000000 +0000
> +++ linux-mips-2.6.23-rc5-20070904/drivers/net/defxx.c 2007-10-12 00:21:35.000000000 +0000
> @@ -806,7 +806,7 @@ static void __devinit dfx_bus_init(struc
> * Interrupts are disabled at the adapter bus-specific logic.
> */
>
> -static void __devinit dfx_bus_uninit(struct net_device *dev)
> +static void __devexit dfx_bus_uninit(struct net_device *dev)
> {
> DFX_board_t *bp = netdev_priv(dev);
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-24 0:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-22 17:13 [PATCH] defxx.c: dfx_bus_init() is __devexit not __devinit Maciej W. Rozycki
2007-10-24 0:23 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).