mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
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: Rob Herring <robh@kernel.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
1fb200d6d4
commit
09aa8ac0f9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user