drivers/net: fix eisa_driver probe section mismatch
Some eisa_driver structures used __init probe functions which generates a warning and could crash if function is called after being deleted. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
cf8190e4c2
commit
cb4396edd8
@@ -1990,7 +1990,7 @@ SetMulticastFilter(struct net_device *dev)
|
||||
|
||||
static u_char de4x5_irq[] = EISA_ALLOWED_IRQ_LIST;
|
||||
|
||||
static int __init de4x5_eisa_probe (struct device *gendev)
|
||||
static int de4x5_eisa_probe(struct device *gendev)
|
||||
{
|
||||
struct eisa_device *edev;
|
||||
u_long iobase;
|
||||
|
Reference in New Issue
Block a user