sram_get_gpool is only used for legacy, non-DT MMP/PXA platforms. Provide an empty version in order to build on ARM64.
Showing the changes to include/linux/platform_data (1 of 1 file). Show all
Unified · Split
| @@ -28,6 +28,13 @@ struct sram_platdata { · 27 unmodified lines | ||
| 28 | 28 | int granularity; |
| 29 | 29 | }; |
| 30 | 30 | |
| 31 | +#ifdef CONFIG_ARM | |
| 31 | 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 | 40 | #endif /* __DMA_MMP_TDMA_H */ |