mirror of https://github.com/hak5/openwrt.git
ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOM
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23982lede-17.01
parent
30ef7d55fc
commit
3106aea40b
|
@ -1058,7 +1058,7 @@ static int __devinit ag71xx_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
dev->irq = platform_get_irq(pdev, 0);
|
dev->irq = platform_get_irq(pdev, 0);
|
||||||
err = request_irq(dev->irq, ag71xx_interrupt,
|
err = request_irq(dev->irq, ag71xx_interrupt,
|
||||||
IRQF_DISABLED | IRQF_SAMPLE_RANDOM,
|
IRQF_DISABLED,
|
||||||
dev->name, dev);
|
dev->name, dev);
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err(&pdev->dev, "unable to request IRQ %d\n", dev->irq);
|
dev_err(&pdev->dev, "unable to request IRQ %d\n", dev->irq);
|
||||||
|
|
Loading…
Reference in New Issue