Commit 79d1050813d4950335f1097a971836ed08be53b0

Authored by Maciej W. Rozycki
Committed by Jeff Garzik
1 parent b9192ad930

defxx.c: dfx_bus_init() is __devexit not __devinit

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -805,7 +805,7 @@
805 805 * Interrupts are disabled at the adapter bus-specific logic.
806 806 */
807 807  
808   -static void __devinit dfx_bus_uninit(struct net_device *dev)
  808 +static void __devexit dfx_bus_uninit(struct net_device *dev)
809 809 {
810 810 DFX_board_t *bp = netdev_priv(dev);
811 811 struct device *bdev = bp->bus_dev;