]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: marvell: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 Nov 2013 13:32:59 +0000 (14:32 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jan 2014 09:13:26 +0000 (09:13 +0000)
commit66e2af22fa09bb067858119376b565c1fe3a21b8
tree1f31f22f627d3df1d2ac710ff2b1682e3717b226
parent95a27ff05b7acce98520a98d6cf16c88ffee009a
mfd: marvell: Constify struct mfd_cell where possible

As of commit 30608690597d03087e454a47a7c40a56e8a4b997 ("mfd: Stop setting
refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
mfd_add_devices() is "const" again. Hence make all cell data passed to
mfd_add_devices() const where possible.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/88pm800.c
drivers/mfd/88pm805.c