summaryrefslogtreecommitdiff
path: root/drivers/mfd/tc6387xb.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-18 17:33:03 +0400
committerLee Jones <lee.jones@linaro.org>2014-01-06 13:13:26 +0400
commitafb580a944ce9fe8c31f96623ded7bb4b87412d3 (patch)
treec77901c57a6e3cf3c9227685a065fd4b57d21449 /drivers/mfd/tc6387xb.c
parentad59de489bf4c81b90b25fb9017f0e6d141f5415 (diff)
downloadlinux-afb580a944ce9fe8c31f96623ded7bb4b87412d3.tar.xz
mfd: toshiba: 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. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/tc6387xb.c')
-rw-r--r--drivers/mfd/tc6387xb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c
index acd0f3a41044..591a331d8d83 100644
--- a/drivers/mfd/tc6387xb.c
+++ b/drivers/mfd/tc6387xb.c
@@ -126,7 +126,7 @@ static struct tmio_mmc_data tc6387xb_mmc_data = {
/*--------------------------------------------------------------------------*/
-static struct mfd_cell tc6387xb_cells[] = {
+static const struct mfd_cell tc6387xb_cells[] = {
[TC6387XB_CELL_MMC] = {
.name = "tmio-mmc",
.enable = tc6387xb_mmc_enable,