]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: staging: Constify struct mfd_cell where possible
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 18 Nov 2013 13:33:05 +0000 (14:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jan 2014 09:13:28 +0000 (09:13 +0000)
commitb9a1866c3799b0a19ba3e3ffaa68af9683a90b83
treef0cd77773480c13182ed35052e8490bee5134524
parent997bacc9c7d52e0ba05a7270f28400a21de0e2f5
mfd: staging: 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.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/staging/nvec/nvec.c