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/mc13783-target.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'firmware/target/arm/imx31/gigabeat-s/mc13783-target.h') diff --git a/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h b/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h index 4bb148e36c..e656e4e08f 100644 --- a/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h @@ -42,6 +42,15 @@ static struct spi_node mc13783_spi = 0, /* SPI clock - no wait states */ }; +MC13783_EVENT_VECTOR_CB(ADCDONE); +#if CONFIG_RTC +MC13783_EVENT_VECTOR_CB(1HZ); +#endif +MC13783_EVENT_VECTOR_CB(ONOFD1); +MC13783_EVENT_VECTOR_CB(SE1); +MC13783_EVENT_VECTOR_CB(USB); +MC13783_EVENT_VECTOR_CB(ONOFD2); + /* Gigabeat S definitions for static MC13783 event registration */ MC13783_EVENT_VECTOR_TBL_START() /* ADC conversion complete */ -- cgit v1.2.3