diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-mmp_tdma.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-mmp_tdma.h b/include/linux/platform_data/dma-mmp_tdma.h index 66574ea39f97..0c72886030ef 100644 --- a/include/linux/platform_data/dma-mmp_tdma.h +++ b/include/linux/platform_data/dma-mmp_tdma.h | |||
| @@ -28,6 +28,13 @@ struct sram_platdata { | |||
| 28 | int granularity; | 28 | int granularity; |
| 29 | }; | 29 | }; |
| 30 | 30 | ||
| 31 | #ifdef CONFIG_ARM | ||
| 31 | extern struct gen_pool *sram_get_gpool(char *pool_name); | 32 | extern struct gen_pool *sram_get_gpool(char *pool_name); |
| 33 | #else | ||
| 34 | static inline struct gen_pool *sram_get_gpool(char *pool_name) | ||
| 35 | { | ||
| 36 | return NULL; | ||
| 37 | } | ||
| 38 | #endif | ||
| 32 | 39 | ||
| 33 | #endif /* __DMA_MMP_TDMA_H */ | 40 | #endif /* __DMA_MMP_TDMA_H */ |
