From 431caa4311c13a0937ae60ac225e780c0a0670b9 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 13 Oct 2020 15:47:26 -0400 Subject: 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 --- firmware/target/arm/imx31/gigabeat-s/gpio-target.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/target/arm/imx31/gigabeat-s/gpio-target.h') 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 @@ #ifdef DEFINE_GPIO_VECTOR_TABLE +GPIO_EVENT_VECTOR_CB(GPIO1_31); +#if CONFIG_TUNER +GPIO_EVENT_VECTOR_CB(GPIO1_27); +#endif + GPIO_VECTOR_TBL_START() /* mc13783 keeps the PRIINT high (no low pulse) if other unmasked * interrupts become active when clearing them or if a source being -- cgit v1.2.3