summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dec
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-12-12 18:24:38 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-14 00:24:22 -0500
commitcb4396edd84ed73081635fb933d19c1410fafaf4 (patch)
tree55a577d47ed477ad5d166c4072930543eabd982e /drivers/net/ethernet/dec
parentcf8190e4c26c8ccf87d80793f8f1f7fe150cdf8c (diff)
downloadlinux-cb4396edd84ed73081635fb933d19c1410fafaf4.tar.bz2
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>
Diffstat (limited to 'drivers/net/ethernet/dec')
-rw-r--r--drivers/net/ethernet/dec/tulip/de4x5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c
index 8966f3159bb2..3acde3b9b767 100644
--- a/drivers/net/ethernet/dec/tulip/de4x5.c
+++ b/drivers/net/ethernet/dec/tulip/de4x5.c
@@ -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;