mfd: kempld-core: Make mfd_cell array const
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:42 +0000 (12:58 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:31 +0000 (08:11 +0100)
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>
drivers/mfd/kempld-core.c

index 25c5ca6797da702498fc388aba0f8915979bb6d5..f7ff0188603deac34e0c872d642efd4a775e1549 100644 (file)
@@ -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",
        },