From 7f70495a51889e86930fb3807fa984b8b370eaf3 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 5 Aug 2016 14:40:31 +0800 Subject: [PATCH] mfd: altera-a10sr: Make altr_a10sr_regmap_config static const It's only used in this driver and never get modified, make it static const. Signed-off-by: Axel Lin Reviewed-by: Thor Thayer Signed-off-by: Lee Jones --- drivers/mfd/altera-a10sr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c index c05aa4ff57fd..40ed65e5fb2a 100644 --- a/drivers/mfd/altera-a10sr.c +++ b/drivers/mfd/altera-a10sr.c @@ -94,7 +94,7 @@ static bool altr_a10sr_reg_volatile(struct device *dev, unsigned int reg) } } -const struct regmap_config altr_a10sr_regmap_config = { +static const struct regmap_config altr_a10sr_regmap_config = { .reg_bits = 8, .val_bits = 8, -- 2.20.1