From: Maciej W. Rozycki Date: Mon, 22 Oct 2007 17:13:24 +0000 (+0100) Subject: defxx.c: dfx_bus_init() is __devexit not __devinit X-Git-Tag: v2.6.24-rc1~15^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79d1050813d4950335f1097a971836ed08be53b0;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/defxx.c b/drivers/net/defxx.c index b07613e..ddc30c4 100644 --- a/drivers/net/defxx.c +++ b/drivers/net/defxx.c @@ -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;