On 08/09/2012 02:46 PM, Schmitt, Sven (EVM/8) wrote: > Second try: Here should go the patch description. I'll compose a nice one from the information form your first patch. > Signed-off-by: Sven Schmitt Given that you're behind VW's firewall, I'll take care of applying the patch by hand, as some mail clients tend to mess with line breaks. Marc > > --- linux-3.5/drivers/net/can/sja1000/sja1000_platform.c.orig > +++ linux-3.5/drivers/net/can/sja1000/sja1000_platform.c > @@ -109,7 +109,9 @@ static int sp_probe(struct platform_devi > priv = netdev_priv(dev); > > dev->irq = res_irq->start; > - priv->irq_flags = res_irq->flags & (IRQF_TRIGGER_MASK | > IRQF_SHARED); > + priv->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; > > > note: patch is compile tested only. > > Sven > -- > To unsubscribe from this list: send the line "unsubscribe linux-can" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |