diff options
Diffstat (limited to 'drivers/net/enc28j60.c')
-rw-r--r-- | drivers/net/enc28j60.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index c05cb159c772..aa0bf6e1c694 100644 --- a/drivers/net/enc28j60.c +++ b/drivers/net/enc28j60.c | |||
@@ -1547,8 +1547,10 @@ static int __devinit enc28j60_probe(struct spi_device *spi) | |||
1547 | random_ether_addr(dev->dev_addr); | 1547 | random_ether_addr(dev->dev_addr); |
1548 | enc28j60_set_hw_macaddr(dev); | 1548 | enc28j60_set_hw_macaddr(dev); |
1549 | 1549 | ||
1550 | ret = request_irq(spi->irq, enc28j60_irq, IRQF_TRIGGER_FALLING, | 1550 | /* Board setup must set the relevant edge trigger type; |
1551 | DRV_NAME, priv); | 1551 | * level triggers won't currently work. |
1552 | */ | ||
1553 | ret = request_irq(spi->irq, enc28j60_irq, 0, DRV_NAME, priv); | ||
1552 | if (ret < 0) { | 1554 | if (ret < 0) { |
1553 | if (netif_msg_probe(priv)) | 1555 | if (netif_msg_probe(priv)) |
1554 | dev_err(&spi->dev, DRV_NAME ": request irq %d failed " | 1556 | dev_err(&spi->dev, DRV_NAME ": request irq %d failed " |