mfd: Constify struct mfd_cell where possible

As of commit 03e361b25e ("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>
Этот коммит содержится в:
Geert Uytterhoeven
2013-11-18 14:33:06 +01:00
коммит произвёл Lee Jones
родитель 2977dc92e4
Коммит 5ac98553af
16 изменённых файлов: 37 добавлений и 37 удалений

Просмотреть файл

@@ -54,7 +54,7 @@ static const struct resource as3722_adc_resource[] = {
},
};
static struct mfd_cell as3722_devs[] = {
static const struct mfd_cell as3722_devs[] = {
{
.name = "as3722-pinctrl",
},