diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-05 19:45:33 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-20 09:21:08 -0400 |
commit | cf6e4ca3e53f734f8fcb253a686c1fdbb6a50e85 (patch) | |
tree | 1ce704529fd40fbeeecbb588e0f4f5875e421560 /arch/arm/include | |
parent | 1629c9ab3679908d2e18ca306df1f07f48713f6b (diff) |
ARM: sa1111: add sa1111_get_irq()
Add a helper function to get the irq number for a device.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/hardware/sa1111.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/sa1111.h b/arch/arm/include/asm/hardware/sa1111.h index 7c2bbc7f0be1..267e43b5225f 100644 --- a/arch/arm/include/asm/hardware/sa1111.h +++ b/arch/arm/include/asm/hardware/sa1111.h | |||
@@ -446,6 +446,8 @@ struct sa1111_driver { | |||
446 | int sa1111_enable_device(struct sa1111_dev *); | 446 | int sa1111_enable_device(struct sa1111_dev *); |
447 | void sa1111_disable_device(struct sa1111_dev *); | 447 | void sa1111_disable_device(struct sa1111_dev *); |
448 | 448 | ||
449 | int sa1111_get_irq(struct sa1111_dev *, unsigned num); | ||
450 | |||
449 | unsigned int sa1111_pll_clock(struct sa1111_dev *); | 451 | unsigned int sa1111_pll_clock(struct sa1111_dev *); |
450 | 452 | ||
451 | #define SA1111_AUDIO_ACLINK 0 | 453 | #define SA1111_AUDIO_ACLINK 0 |