diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-08-18 13:53:05 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-10-08 18:12:42 -0400 |
commit | 4ca06de368ddfaee47983d3d1f9eec9e2a6c23d4 (patch) | |
tree | 68ed7650593bc75ec46f50ec162a72b730e489e1 /arch/arm/mach-msm | |
parent | 871c94a8612f6b13193752c765617cfe68a038d3 (diff) |
msm: dma: add stub functions for dma features not yet present on 8x60
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/include/mach/dma.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/include/mach/dma.h b/arch/arm/mach-msm/include/mach/dma.h index 00f9bbfadbe6..05583f569524 100644 --- a/arch/arm/mach-msm/include/mach/dma.h +++ b/arch/arm/mach-msm/include/mach/dma.h | |||
@@ -32,10 +32,18 @@ struct msm_dmov_cmd { | |||
32 | void *data; | 32 | void *data; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | #ifndef CONFIG_ARCH_MSM8X60 | ||
35 | void msm_dmov_enqueue_cmd(unsigned id, struct msm_dmov_cmd *cmd); | 36 | void msm_dmov_enqueue_cmd(unsigned id, struct msm_dmov_cmd *cmd); |
36 | void msm_dmov_stop_cmd(unsigned id, struct msm_dmov_cmd *cmd, int graceful); | 37 | void msm_dmov_stop_cmd(unsigned id, struct msm_dmov_cmd *cmd, int graceful); |
37 | int msm_dmov_exec_cmd(unsigned id, unsigned int cmdptr); | 38 | int msm_dmov_exec_cmd(unsigned id, unsigned int cmdptr); |
38 | 39 | #else | |
40 | static inline | ||
41 | void msm_dmov_enqueue_cmd(unsigned id, struct msm_dmov_cmd *cmd) { } | ||
42 | static inline | ||
43 | void msm_dmov_stop_cmd(unsigned id, struct msm_dmov_cmd *cmd, int graceful) { } | ||
44 | static inline | ||
45 | int msm_dmov_exec_cmd(unsigned id, unsigned int cmdptr) { return -EIO; } | ||
46 | #endif | ||
39 | 47 | ||
40 | 48 | ||
41 | #define DMOV_SD0(off, ch) (MSM_DMOV_BASE + 0x0000 + (off) + ((ch) << 2)) | 49 | #define DMOV_SD0(off, ch) (MSM_DMOV_BASE + 0x0000 + (off) + ((ch) << 2)) |