From: Axel Lin Date: Wed, 13 Jun 2012 14:57:24 +0000 (+0800) Subject: regmap: mmio: Staticize regmap_mmio_gen_context() X-Git-Tag: v3.6-rc1~158^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8790ab4ce2a46505a8e1479645414425dbc81f0;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Acked-by: Stephen Warren Signed-off-by: Mark Brown --- diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c index eec8663..d64a7fc 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 = { .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;