mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOM
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23982 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user