Skip to contentSkip to conversation

mfd: as3722: Don't export the regmap config

PATCH Applied Mark Brown 2 participants 2 messages Oct 25, 2013 Multifunction devices (MFD)

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: as3722: Don't export the regmap config

From: Mark Brown <[email protected]>

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

---
 drivers/mfd/as3722.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/as3722.c +1 -1
index cd8ee59..f161f2e 100644
@@ -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,
Signature · 1 line
1.8.4.rc3
Applied
#1 lore raw

Hi Mark,

Quoted 8 lines · Mark Brown

From: Mark Brown <[email protected]>

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

---
 drivers/mfd/as3722.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/