From bd6d35a62df9f04eeb5aa0860114add92eba208d Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Tue, 13 May 2014 12:58:42 +0200 Subject: 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 Acked-by: Kevin Strasser Signed-off-by: Lee Jones --- drivers/mfd/kempld-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mfd/kempld-core.c') diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c index 25c5ca6797da..f7ff0188603d 100644 --- a/drivers/mfd/kempld-core.c +++ b/drivers/mfd/kempld-core.c @@ -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", }, -- cgit v1.2.3