diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-12-12 20:24:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-14 08:24:22 +0300 |
commit | cb4396edd84ed73081635fb933d19c1410fafaf4 (patch) | |
tree | 55a577d47ed477ad5d166c4072930543eabd982e /drivers/net/ethernet/dec/tulip | |
parent | cf8190e4c26c8ccf87d80793f8f1f7fe150cdf8c (diff) | |
download | linux-cb4396edd84ed73081635fb933d19c1410fafaf4.tar.xz |
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/tulip')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/de4x5.c | 2 |
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; |