History

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.

Rob Herring committed 11 years ago

Commit 09aa8ac1 parent 1fb200d1 file · +7 −0Browse files

Showing the changes to include/linux/platform_data (1 of 1 file). Show all

Unified · Split

include/linux/platform_data/dma-mmp_tdma.h+7−0
@@ -28,6 +28,13 @@ struct sram_platdata { · 27 unmodified lines
2828 int granularity;
2929 };
3030
31+#ifdef CONFIG_ARM
3132 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
3239
3340 #endif /* __DMA_MMP_TDMA_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t