]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sparc: Add sparc support for platform_get_irq()
authorAndreas Larsson <andreas@gaisler.com>
Mon, 29 Oct 2012 23:26:56 +0000 (23:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2012 00:30:49 +0000 (16:30 -0800)
commit5cf8f7db8274f68b180ad277dbb0308e72b66efd
treead0e683218fec13d4d877b4dc56b8436ac023d5f
parentafe760e43d576aa8d3af4d9fd3913e52014a7571
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>
drivers/base/platform.c