summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/gpio-target.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-13 15:47:26 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-13 15:48:31 -0400
commit431caa4311c13a0937ae60ac225e780c0a0670b9 (patch)
tree319db80e0ce77663b70d04391ee81ccae2012c0b /firmware/target/arm/imx31/gigabeat-s/gpio-target.h
parentf8bd54d5759c78d0777f25cad287a6dbeb0b45ea (diff)
downloadrockbox-431caa4311c13a0937ae60ac225e780c0a0670b9.tar.gz
rockbox-431caa4311c13a0937ae60ac225e780c0a0670b9.zip
imx31: Work around an apparently not-quite-kosher abuse of CPP
(we were trying to foward-declare functions from within static initializer context. GCC no longer accepts this) Change-Id: I58f316ecc84c8ab45fffc054955727a55714b0a3
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/gpio-target.h')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/gpio-target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h
index 543b25f244..9204e6cd9d 100644
--- a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h
@@ -28,6 +28,11 @@
28 28
29#ifdef DEFINE_GPIO_VECTOR_TABLE 29#ifdef DEFINE_GPIO_VECTOR_TABLE
30 30
31GPIO_EVENT_VECTOR_CB(GPIO1_31);
32#if CONFIG_TUNER
33GPIO_EVENT_VECTOR_CB(GPIO1_27);
34#endif
35
31GPIO_VECTOR_TBL_START() 36GPIO_VECTOR_TBL_START()
32 /* mc13783 keeps the PRIINT high (no low pulse) if other unmasked 37 /* mc13783 keeps the PRIINT high (no low pulse) if other unmasked
33 * interrupts become active when clearing them or if a source being 38 * interrupts become active when clearing them or if a source being