mfd: ti: 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>
此提交包含在:
@@ -44,7 +44,7 @@ static struct resource tps80031_rtc_resources[] = {
|
||||
};
|
||||
|
||||
/* TPS80031 sub mfd devices */
|
||||
static struct mfd_cell tps80031_cell[] = {
|
||||
static const struct mfd_cell tps80031_cell[] = {
|
||||
{
|
||||
.name = "tps80031-pmic",
|
||||
},
|
||||
|
新增問題並參考
封鎖使用者