projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fb200d
)
dma: mmp_tdma: Fix build for ARM64
author
Rob Herring
<robh@kernel.org>
Tue, 3 Feb 2015 23:07:35 +0000
(17:07 -0600)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 4 Feb 2015 01:47:35 +0000
(17:47 -0800)
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>
include/linux/platform_data/dma-mmp_tdma.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/platform_data/dma-mmp_tdma.h
b/include/linux/platform_data/dma-mmp_tdma.h
index 66574ea39f97dc8b22e49d6625e0a5c16292b821..0c72886030ef0f3555a2fe78a488b1e0109fae81 100644
(file)
--- 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 {
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 */