Searched hist:"5 cf8f7db" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/base/ |
H A D | platform.c | 5cf8f7db Mon Oct 29 18:26:56 CDT 2012 Andreas Larsson <andreas@gaisler.com> sparc: Add sparc support for platform_get_irq()
This adds sparc support for platform_get_irq that in the normal case use platform_get_resource() to get an irq. This standard approach fails for sparc as there are no resources of type IORESOURCE_IRQ for irqs for sparc.
Cross platform drivers can then use this standard platform function and work on sparc instead of having to have a special case for sparc.
Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net> 5cf8f7db Mon Oct 29 18:26:56 CDT 2012 Andreas Larsson <andreas@gaisler.com> sparc: Add sparc support for platform_get_irq() This adds sparc support for platform_get_irq that in the normal case use platform_get_resource() to get an irq. This standard approach fails for sparc as there are no resources of type IORESOURCE_IRQ for irqs for sparc. Cross platform drivers can then use this standard platform function and work on sparc instead of having to have a special case for sparc. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|