defxx.c: dfx_bus_init() is __devexit not __devinit
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 22 Oct 2007 17:13:24 +0000 (18:13 +0100)
committerJeff Garzik <jeff@garzik.org>
Wed, 24 Oct 2007 00:18:13 +0000 (20:18 -0400)
 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>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/defxx.c

index b07613e61f53048f5dd7aa6ea47606e0f2cb22c9..ddc30c4bf34a75f87e69ac7f2fce8015a684f808 100644 (file)
@@ -805,7 +805,7 @@ static void __devinit dfx_bus_init(struct net_device *dev)
  *   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;