summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-09-02 12:27:09 +0200
committerVinod Koul <vinod.koul@intel.com>2016-09-26 19:01:04 +0200
commit93d05f1ec644c97535159649de7f8e6731841336 (patch)
tree52ec3fe981598464dfd93b94e880203cddc0faa2 /include
parentdmaengine: mmp_pdma: enable COMPILE_TEST (diff)
downloadlinux-93d05f1ec644c97535159649de7f8e6731841336.tar.xz
linux-93d05f1ec644c97535159649de7f8e6731841336.zip
dmaengine: mmp_tdma: enable COMPILE_TEST
To get more coverage, enable COMPILE_TEST for this driver. While at it, to fix build on other archs, select MMP_SRAM only for ARCH_MMP and also fix the platform header Suggested-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/dma-mmp_tdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/dma-mmp_tdma.h b/include/linux/platform_data/dma-mmp_tdma.h
index 0c72886030ef..422d4504dbac 100644
--- a/include/linux/platform_data/dma-mmp_tdma.h
+++ b/include/linux/platform_data/dma-mmp_tdma.h
@@ -28,7 +28,7 @@ struct sram_platdata {
int granularity;
};
-#ifdef CONFIG_ARM
+#ifdef CONFIG_MMP_SRAM
extern struct gen_pool *sram_get_gpool(char *pool_name);
#else
static inline struct gen_pool *sram_get_gpool(char *pool_name)