diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-05-13 06:58:42 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 03:11:31 -0400 |
commit | bd6d35a62df9f04eeb5aa0860114add92eba208d (patch) | |
tree | d23ef98b5dcd33560773645da2e869b244644e65 /drivers/mfd/kempld-core.c | |
parent | f1eb2cb82e2ac000e55a40d96d20fd80b379c6c1 (diff) |
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>
Diffstat (limited to 'drivers/mfd/kempld-core.c')
-rw-r--r-- | drivers/mfd/kempld-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
86 | KEMPLD_UART, | 86 | KEMPLD_UART, |
87 | }; | 87 | }; |
88 | 88 | ||
89 | static struct mfd_cell kempld_devs[] = { | 89 | static const struct mfd_cell kempld_devs[] = { |
90 | [KEMPLD_I2C] = { | 90 | [KEMPLD_I2C] = { |
91 | .name = "kempld-i2c", | 91 | .name = "kempld-i2c", |
92 | }, | 92 | }, |