diff options
Diffstat (limited to 'drivers/net/can/sja1000')
-rw-r--r-- | drivers/net/can/sja1000/sja1000_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/sja1000_platform.c b/drivers/net/can/sja1000/sja1000_platform.c index 628374c2a05f..bec0d3d99fe3 100644 --- a/drivers/net/can/sja1000/sja1000_platform.c +++ b/drivers/net/can/sja1000/sja1000_platform.c | |||
@@ -90,7 +90,7 @@ static int sp_probe(struct platform_device *pdev) | |||
90 | priv = netdev_priv(dev); | 90 | priv = netdev_priv(dev); |
91 | 91 | ||
92 | dev->irq = res_irq->start; | 92 | dev->irq = res_irq->start; |
93 | priv->irq_flags = res_irq->flags & IRQF_TRIGGER_MASK; | 93 | priv->irq_flags = res_irq->flags & (IRQF_TRIGGER_MASK | IRQF_SHARED); |
94 | priv->reg_base = addr; | 94 | priv->reg_base = addr; |
95 | priv->read_reg = sp_read_reg; | 95 | priv->read_reg = sp_read_reg; |
96 | priv->write_reg = sp_write_reg; | 96 | priv->write_reg = sp_write_reg; |