mirror of https://gitee.com/openkylin/linux.git
mfd: kempld-core: Make mfd_cell array const
The kempld_devs (array of mfd_cells) can be safely made const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Kevin Strasser <kevin.strasser@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
f1eb2cb82e
commit
bd6d35a62d
|
@ -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",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue