MIPS: Decrease size of au1xxx_dbdma_pm_regs[][]
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 18 Sep 2009 19:50:10 +0000 (12:50 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Sep 2009 19:47:01 +0000 (21:47 +0200)
commitc2e32149074501fc12f6e05f85812e07148a2276
tree28aac84c5d0a79c11b2050c050ab511c1a661183
parenteef34ec514054e4685745236dd5c9658f7aca69e
MIPS: Decrease size of au1xxx_dbdma_pm_regs[][]

There are 16 individual channels (NUM_DBDMA_CHANS) to save/restore plus the
global ddma block config (the +1).  The last register in a channel can be
skipped since it's read-only (at offset 0x18).

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/dbdma.c