Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322430
b: refs/heads/master
c: da3d50e
h: refs/heads/master
v: v3
  • Loading branch information
Sven Schmitt authored and Marc Kleine-Budde committed Aug 24, 2012
1 parent b969ae3 commit 4a434f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ef813c412c0cf254ddce7d922289e2d6a69960f0
refs/heads/master: da3d50ef308d53f216f1f92f4971f245c13e9f65
4 changes: 3 additions & 1 deletion trunk/drivers/net/can/sja1000/sja1000_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ 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 | IRQF_SHARED);
priv->irq_flags = res_irq->flags & IRQF_TRIGGER_MASK;
if (res_irq->flags & IORESOURCE_IRQ_SHAREABLE)
priv->irq_flags |= IRQF_SHARED;
priv->reg_base = addr;
/* The CAN clock frequency is half the oscillator clock frequency */
priv->can.clock.freq = pdata->osc_freq / 2;
Expand Down

0 comments on commit 4a434f9

Please sign in to comment.