can: sja1000_platform: fix wrong flag IRQF_SHARED for interrupt sharing
authorSven Schmitt <sven.schmitt@volkswagen.de>
Thu, 9 Aug 2012 12:46:34 +0000 (14:46 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 24 Aug 2012 08:54:05 +0000 (10:54 +0200)
commitda3d50ef308d53f216f1f92f4971f245c13e9f65
tree0aaa3135784287ae0a39acc98a84a66d81702816
parentef813c412c0cf254ddce7d922289e2d6a69960f0
can: sja1000_platform: fix wrong flag IRQF_SHARED for interrupt sharing

The sja1000 platform driver wrongly assumes that a shared IRQ is indicated
with the IRQF_SHARED flag in irq resource flags. This patch changes the
driver to handle the correct flag IORESOURCE_IRQ_SHAREABLE instead.

There are no mainline users of the platform driver which wrongly make use
of IRQF_SHARED.

Signed-off-by: Sven Schmitt <sven.schmitt@volkswagen.de>
Acked-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000_platform.c