regmap: mmio: Staticize regmap_mmio_gen_context()
authorAxel Lin <axel.lin@gmail.com>
Wed, 13 Jun 2012 14:57:24 +0000 (22:57 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Jun 2012 18:15:11 +0000 (19:15 +0100)
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>
drivers/base/regmap/regmap-mmio.c

index eec86639cac4fe8fc2842dd9457807f7e2359c6a..d64a7fc71df822f8b53845bab0ba9392a54a28f3 100644 (file)
@@ -128,7 +128,7 @@ static struct regmap_bus regmap_mmio = {
        .val_format_endian_default = REGMAP_ENDIAN_NATIVE,
 };
 
-struct regmap_mmio_context *regmap_mmio_gen_context(void __iomem *regs,
+static struct regmap_mmio_context *regmap_mmio_gen_context(void __iomem *regs,
                                        const struct regmap_config *config)
 {
        struct regmap_mmio_context *ctx;