[PATCH] defxx.c: dfx_bus_init() is __devexit not __devinit

STALE6859d

2 messages, 2 authors, 2007-10-24 · open the first message on its own page

[PATCH] defxx.c: dfx_bus_init() is __devexit not __devinit

From: Maciej W. Rozycki <hidden>
Date: 2007-10-22 17:13:56

 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 <redacted>
---
 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;

Re: [PATCH] defxx.c: dfx_bus_init() is __devexit not __devinit

From: Jeff Garzik <hidden>
Date: 2007-10-24 00:23:59

Maciej W. Rozycki wrote:
quoted hunk
 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 <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help