lkml.org 
[lkml]   [2013]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] mfd: as3722: Don't export the regmap config
From: Mark Brown <broonie@linaro.org>

It's not used outside this file so can be static.

Signed-off-by: Mark Brown <broonie@linaro.org>
---
drivers/mfd/as3722.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/as3722.c b/drivers/mfd/as3722.c
index cd8ee59..f161f2e 100644
--- a/drivers/mfd/as3722.c
+++ b/drivers/mfd/as3722.c
@@ -314,7 +314,7 @@ static const struct regmap_access_table as3722_volatile_table = {
.n_no_ranges = ARRAY_SIZE(as3722_cacheable_ranges),
};

-const struct regmap_config as3722_regmap_config = {
+static const struct regmap_config as3722_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = AS3722_MAX_REGISTER,
--
1.8.4.rc3


\
 
 \ /
  Last update: 2013-10-25 22:21    [W:0.327 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site