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
committed by Lee Jones
コミット 5ac98553af
16個のファイルの変更37行の追加37行の削除

ファイルの表示

@@ -114,7 +114,7 @@ static struct resource ds1wm_resources[] __initdata = {
},
};
static struct mfd_cell ds1wm_cell __initdata = {
static const struct mfd_cell ds1wm_cell __initconst = {
.name = "ds1wm",
.enable = ds1wm_enable,
.disable = ds1wm_disable,