diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-01-05 10:01:20 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-22 15:56:07 +0000 |
commit | 8da90cc825fc0c0894393b19de5d57671c799a6b (patch) | |
tree | 764cc93fce1c60a3b0f8f56c18da39a56e8db7b6 | |
parent | 774e0b41d485e18e655247441b8ca8b8dbe217c4 (diff) | |
download | blackbird-obmc-linux-8da90cc825fc0c0894393b19de5d57671c799a6b.tar.gz blackbird-obmc-linux-8da90cc825fc0c0894393b19de5d57671c799a6b.zip |
mfd: 88pm860x-core: Constify struct regmap_config
The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/88pm860x-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c index 3a2604580164..d2a85cde68da 100644 --- a/drivers/mfd/88pm860x-core.c +++ b/drivers/mfd/88pm860x-core.c @@ -1111,7 +1111,7 @@ static int verify_addr(struct i2c_client *i2c) return 0; } -static struct regmap_config pm860x_regmap_config = { +static const struct regmap_config pm860x_regmap_config = { .reg_bits = 8, .val_bits = 8, }; |