summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/mach-smdk2443.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-08-06 20:20:48 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-20 17:43:45 +0200
commitcd4bd8f9435ddf08a8677f56abf418423f223959 (patch)
treedf2fab6e28f015c38994305ef007e1c3790955e3 /arch/arm/mach-s3c24xx/mach-smdk2443.c
parentb2a587cb650f181165f38d5db51adb8f6d7e1e67 (diff)
downloadlinux-cd4bd8f9435ddf08a8677f56abf418423f223959.tar.bz2
ARM: s3c24xx: spi: avoid hardcoding fiq number in driver
The IRQ_EINT0 constant is a platform detail that is defined in mach/irqs.h and not visible to drivers once that header is made private. Since the same calculation already happens in s3c24xx_set_fiq, just return the value from there. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20200806182059.2431-31-krzk@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-smdk2443.c')
0 files changed, 0 insertions, 0 deletions