summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2013-08-03 16:39:45 +0530
committerDavid S. Miller <davem@davemloft.net>2013-08-03 11:53:04 -0700
commitb6bb1c63dd46c4a9cdccbf5b5db49386eb6759a9 (patch)
tree31ef8045154c1d51acaee80adb0bd9493fa173dd
parent6a8b7f0c85f1f42eb8b6e68ef3d5ba8020d8e272 (diff)
downloadop-kernel-dev-b6bb1c63dd46c4a9cdccbf5b5db49386eb6759a9.zip
op-kernel-dev-b6bb1c63dd46c4a9cdccbf5b5db49386eb6759a9.tar.gz
net: ethernet: davinci_emac: drop IRQF_DISABLED
IRQF_DISABLED is a no-op by now and should be removed. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/ti/davinci_emac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c
index 07b176b..1a222bce 100644
--- a/drivers/net/ethernet/ti/davinci_emac.c
+++ b/drivers/net/ethernet/ti/davinci_emac.c
@@ -1568,8 +1568,7 @@ static int emac_dev_open(struct net_device *ndev)
while ((res = platform_get_resource(priv->pdev, IORESOURCE_IRQ, k))) {
for (i = res->start; i <= res->end; i++) {
if (devm_request_irq(&priv->pdev->dev, i, emac_irq,
- IRQF_DISABLED,
- ndev->name, ndev))
+ 0, ndev->name, ndev))
goto rollback;
}
k++;
OpenPOWER on IntegriCloud