diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2018-06-25 14:37:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-26 15:15:14 +0200 |
commit | c4015302565c9869bfc16824096211a32ba4d416 (patch) | |
tree | 615fe1a15fc2337209b80e4f4bf7780561a2d8fa /drivers/net/ethernet/freescale/fman/fman.c | |
parent | Merge branch 'mlxsw-Support-bridge-router-interfaces-with-non-default-VLAN' (diff) | |
download | linux-c4015302565c9869bfc16824096211a32ba4d416.tar.xz linux-c4015302565c9869bfc16824096211a32ba4d416.zip |
fsl/fman: share the event interrupt
This patch is to share fman event interrupt because
the 1588 timer driver will also use this interrupt.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/fman.c')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/fman.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index 9530405030a7..c415ac67cb7b 100644 --- a/drivers/net/ethernet/freescale/fman/fman.c +++ b/drivers/net/ethernet/freescale/fman/fman.c @@ -2801,7 +2801,8 @@ static struct fman *read_dts_node(struct platform_device *of_dev) of_node_put(muram_node); of_node_put(fm_node); - err = devm_request_irq(&of_dev->dev, irq, fman_irq, 0, "fman", fman); + err = devm_request_irq(&of_dev->dev, irq, fman_irq, IRQF_SHARED, + "fman", fman); if (err < 0) { dev_err(&of_dev->dev, "%s: irq %d allocation failed (error = %d)\n", __func__, irq, err); |