can: sja1000: allow shared interrupt definition
extend the AND mask, so that IRQF_SHARED flag remains Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Acked-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e99b99b471
commit
abde89d7f5
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ static int sp_probe(struct platform_device *pdev)
|
|||
priv = netdev_priv(dev);
|
||||
|
||||
dev->irq = res_irq->start;
|
||||
priv->irq_flags = res_irq->flags & IRQF_TRIGGER_MASK;
|
||||
priv->irq_flags = res_irq->flags & (IRQF_TRIGGER_MASK | IRQF_SHARED);
|
||||
priv->reg_base = addr;
|
||||
priv->read_reg = sp_read_reg;
|
||||
priv->write_reg = sp_write_reg;
|
||||
|
|
Reference in a new issue