aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/devices-db8500.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-09-29 11:01:08 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-10-04 14:46:07 -0400
commit1d7e3565946bf23fef5b3219be7df63b314478a2 (patch)
tree27a8bb03a795bf2fdb3b0aaeefca9440420925c2 /arch/arm/mach-ux500/devices-db8500.c
parente81fcc97350755e021c85b816877ae292b8f28d0 (diff)
ARM: 6418/1: ux500: rename DB8500 DMA event line macros
Change the DMA event line macros to have the name of the SoC. Also, have the event line number encoded in the macro since on DB5500 several event lines are present at multiple alternate numbers. Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.c')
-rw-r--r--arch/arm/mach-ux500/devices-db8500.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index f2e01a6dafe7..40032fecbc16 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -246,23 +246,23 @@ struct stedma40_chan_cfg dma40_memcpy_conf_log = {
246 * Mapping between destination event lines and physical device address. 246 * Mapping between destination event lines and physical device address.
247 * The event line is tied to a device and therefor the address is constant. 247 * The event line is tied to a device and therefor the address is constant.
248 */ 248 */
249static const dma_addr_t dma40_tx_map[STEDMA40_NR_DEV]; 249static const dma_addr_t dma40_tx_map[DB8500_DMA_NR_DEV];
250 250
251/* Mapping between source event lines and physical device address */ 251/* Mapping between source event lines and physical device address */
252static const dma_addr_t dma40_rx_map[STEDMA40_NR_DEV]; 252static const dma_addr_t dma40_rx_map[DB8500_DMA_NR_DEV];
253 253
254/* Reserved event lines for memcpy only */ 254/* Reserved event lines for memcpy only */
255static int dma40_memcpy_event[] = { 255static int dma40_memcpy_event[] = {
256 STEDMA40_MEMCPY_TX_0, 256 DB8500_DMA_MEMCPY_TX_0,
257 STEDMA40_MEMCPY_TX_1, 257 DB8500_DMA_MEMCPY_TX_1,
258 STEDMA40_MEMCPY_TX_2, 258 DB8500_DMA_MEMCPY_TX_2,
259 STEDMA40_MEMCPY_TX_3, 259 DB8500_DMA_MEMCPY_TX_3,
260 STEDMA40_MEMCPY_TX_4, 260 DB8500_DMA_MEMCPY_TX_4,
261 STEDMA40_MEMCPY_TX_5, 261 DB8500_DMA_MEMCPY_TX_5,
262}; 262};
263 263
264static struct stedma40_platform_data dma40_plat_data = { 264static struct stedma40_platform_data dma40_plat_data = {
265 .dev_len = STEDMA40_NR_DEV, 265 .dev_len = DB8500_DMA_NR_DEV,
266 .dev_rx = dma40_rx_map, 266 .dev_rx = dma40_rx_map,
267 .dev_tx = dma40_tx_map, 267 .dev_tx = dma40_tx_map,
268 .memcpy = dma40_memcpy_event, 268 .memcpy = dma40_memcpy_event,