aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-13 10:57:24 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-13 14:15:11 -0400
commite8790ab4ce2a46505a8e1479645414425dbc81f0 (patch)
tree425d385c8e93019119323cc4727c6e3a5c2294f4 /drivers/base
parentbd3810a58ba9c16702450c643ea3c557668185db (diff)
regmap: mmio: Staticize regmap_mmio_gen_context()
regmap_mmio_gen_context() is only used in regmap-mmio.c. Thus make it static. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/regmap/regmap-mmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c
index eec86639cac4..d64a7fc71df8 100644
--- a/drivers/base/regmap/regmap-mmio.c
+++ b/drivers/base/regmap/regmap-mmio.c
@@ -128,7 +128,7 @@ static struct regmap_bus regmap_mmio = {
128 .val_format_endian_default = REGMAP_ENDIAN_NATIVE, 128 .val_format_endian_default = REGMAP_ENDIAN_NATIVE,
129}; 129};
130 130
131struct regmap_mmio_context *regmap_mmio_gen_context(void __iomem *regs, 131static struct regmap_mmio_context *regmap_mmio_gen_context(void __iomem *regs,
132 const struct regmap_config *config) 132 const struct regmap_config *config)
133{ 133{
134 struct regmap_mmio_context *ctx; 134 struct regmap_mmio_context *ctx;