提交 bd6d35a6 编写于 作者: K Krzysztof Kozlowski 提交者: Lee Jones

mfd: kempld-core: Make mfd_cell array const

The kempld_devs (array of mfd_cells) can be safely made const.
Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: NKevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 f1eb2cb8
......@@ -86,7 +86,7 @@ enum kempld_cells {
KEMPLD_UART,
};
static struct mfd_cell kempld_devs[] = {
static const struct mfd_cell kempld_devs[] = {
[KEMPLD_I2C] = {
.name = "kempld-i2c",
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册