diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-09-13 00:21:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-15 22:01:06 -0400 |
commit | 7887427193c84eff6bb8a8776a3bf1a83b7a226c (patch) | |
tree | fb2dec70196a084b720f45648afdc0126cca76fd /drivers/net | |
parent | d8865d5bb92d0d362ed6904cb248776d4da6efbb (diff) |
net: pasemi: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from
drivers/net/ethernet/pasemi/pasemi_mac.c
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/pasemi/pasemi_mac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/pasemi/pasemi_mac.c b/drivers/net/ethernet/pasemi/pasemi_mac.c index c498181a9aa8..5b65356e7568 100644 --- a/drivers/net/ethernet/pasemi/pasemi_mac.c +++ b/drivers/net/ethernet/pasemi/pasemi_mac.c | |||
@@ -1219,7 +1219,7 @@ static int pasemi_mac_open(struct net_device *dev) | |||
1219 | snprintf(mac->tx_irq_name, sizeof(mac->tx_irq_name), "%s tx", | 1219 | snprintf(mac->tx_irq_name, sizeof(mac->tx_irq_name), "%s tx", |
1220 | dev->name); | 1220 | dev->name); |
1221 | 1221 | ||
1222 | ret = request_irq(mac->tx->chan.irq, pasemi_mac_tx_intr, IRQF_DISABLED, | 1222 | ret = request_irq(mac->tx->chan.irq, pasemi_mac_tx_intr, 0, |
1223 | mac->tx_irq_name, mac->tx); | 1223 | mac->tx_irq_name, mac->tx); |
1224 | if (ret) { | 1224 | if (ret) { |
1225 | dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n", | 1225 | dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n", |
@@ -1230,7 +1230,7 @@ static int pasemi_mac_open(struct net_device *dev) | |||
1230 | snprintf(mac->rx_irq_name, sizeof(mac->rx_irq_name), "%s rx", | 1230 | snprintf(mac->rx_irq_name, sizeof(mac->rx_irq_name), "%s rx", |
1231 | dev->name); | 1231 | dev->name); |
1232 | 1232 | ||
1233 | ret = request_irq(mac->rx->chan.irq, pasemi_mac_rx_intr, IRQF_DISABLED, | 1233 | ret = request_irq(mac->rx->chan.irq, pasemi_mac_rx_intr, 0, |
1234 | mac->rx_irq_name, mac->rx); | 1234 | mac->rx_irq_name, mac->rx); |
1235 | if (ret) { | 1235 | if (ret) { |
1236 | dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n", | 1236 | dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n", |