提交 63aca0f7 编写于 作者: M Michael Opdenacker 提交者: David S. Miller

bfin_mac: remove deprecated IRQF_DISABLED

This patch proposes to remove the IRQF_DISABLED flag from
drivers/net/ethernet/adi/bfin_mac.c.

It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: NMichael Opdenacker <michael.opdenacker@free-electrons.com>
Reviewed-by: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6e43fc04
...@@ -530,7 +530,7 @@ static int bfin_mac_ethtool_setwol(struct net_device *dev, ...@@ -530,7 +530,7 @@ static int bfin_mac_ethtool_setwol(struct net_device *dev,
if (lp->wol && !lp->irq_wake_requested) { if (lp->wol && !lp->irq_wake_requested) {
/* register wake irq handler */ /* register wake irq handler */
rc = request_irq(IRQ_MAC_WAKEDET, bfin_mac_wake_interrupt, rc = request_irq(IRQ_MAC_WAKEDET, bfin_mac_wake_interrupt,
IRQF_DISABLED, "EMAC_WAKE", dev); 0, "EMAC_WAKE", dev);
if (rc) if (rc)
return rc; return rc;
lp->irq_wake_requested = true; lp->irq_wake_requested = true;
...@@ -1686,7 +1686,7 @@ static int bfin_mac_probe(struct platform_device *pdev) ...@@ -1686,7 +1686,7 @@ static int bfin_mac_probe(struct platform_device *pdev)
/* now, enable interrupts */ /* now, enable interrupts */
/* register irq handler */ /* register irq handler */
rc = request_irq(IRQ_MAC_RX, bfin_mac_interrupt, rc = request_irq(IRQ_MAC_RX, bfin_mac_interrupt,
IRQF_DISABLED, "EMAC_RX", ndev); 0, "EMAC_RX", ndev);
if (rc) { if (rc) {
dev_err(&pdev->dev, "Cannot request Blackfin MAC RX IRQ!\n"); dev_err(&pdev->dev, "Cannot request Blackfin MAC RX IRQ!\n");
rc = -EBUSY; rc = -EBUSY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册