summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/dma-mmp_tdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/dma-mmp_tdma.h')
-rw-r--r--include/linux/platform_data/dma-mmp_tdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/dma-mmp_tdma.h b/include/linux/platform_data/dma-mmp_tdma.h
index 0c72886030ef..422d4504dbac 100644
--- a/include/linux/platform_data/dma-mmp_tdma.h
+++ b/include/linux/platform_data/dma-mmp_tdma.h
@@ -28,7 +28,7 @@ struct sram_platdata {
int granularity;
};
-#ifdef CONFIG_ARM
+#ifdef CONFIG_MMP_SRAM
extern struct gen_pool *sram_get_gpool(char *pool_name);
#else
static inline struct gen_pool *sram_get_gpool(char *pool_name)
OpenPOWER on IntegriCloud