SH: constify multiple DMA related objects and references to them
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 21 Apr 2010 15:36:49 +0000 (15:36 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 26 Apr 2010 06:50:50 +0000 (15:50 +0900)
commit5bac942db3d2c4738df04104240d65a5d1eaec6a
tree253c75407764fc5cb3483283941b14a99fad389a
parent6b6b18e62cfba44ce7b6489c7100f12b199232d7
SH: constify multiple DMA related objects and references to them

Lists of DMA channels and slaves are not changed, make them constant. Besides,
SH7724 channel and slave configuration of both DMA controllers is identical,
remove the extra copy of the configuration data.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7722.c
arch/sh/kernel/cpu/sh4a/setup-sh7724.c
arch/sh/kernel/cpu/sh4a/setup-sh7780.c
arch/sh/kernel/cpu/sh4a/setup-sh7785.c
arch/sh/kernel/cpu/sh4a/setup-sh7786.c
drivers/dma/shdma.c
include/linux/sh_dma.h