]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 26 Nov 2013 09:00:37 +0000 (09:00 +0000)
commit9428d37a303312f68d5e8d78baa46dba3d4fc43e
tree5ce0c8f09c7c0444111bd1960af571c9aeaac2f5
parent8d76ca96ef229fc628040a706d0ed54f5d732268
mfd: staging: Constify struct mfd_cell where possible

As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("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