Skip to content
Snippets Groups Projects
Commit 09aa8ac0 authored by Rob Herring's avatar Rob Herring Committed by Vinod Koul
Browse files

dma: mmp_tdma: Fix build for ARM64


sram_get_gpool is only used for legacy, non-DT MMP/PXA platforms. Provide
an empty version in order to build on ARM64.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 1fb200d6
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,13 @@ struct sram_platdata {
int granularity;
};
#ifdef CONFIG_ARM
extern struct gen_pool *sram_get_gpool(char *pool_name);
#else
static inline struct gen_pool *sram_get_gpool(char *pool_name)
{
return NULL;
}
#endif
#endif /* __DMA_MMP_TDMA_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment