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>
Этот коммит содержится в:

коммит произвёл
Lee Jones

родитель
2977dc92e4
Коммит
5ac98553af
@@ -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",
|
||||
},
|
||||
|
Ссылка в новой задаче
Block a user