* [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context()
@ 2012-06-13 14:57 Axel Lin
2012-06-13 16:00 ` Stephen Warren
2012-06-13 18:09 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2012-06-13 14:57 UTC (permalink / raw)
To: linux-kernel; +Cc: Stephen Warren, Mark Brown
regmap_mmio_gen_context() is only used in regmap-mmio.c. Thus make it static.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/base/regmap/regmap-mmio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context()
2012-06-13 14:57 [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context() Axel Lin
@ 2012-06-13 16:00 ` Stephen Warren
2012-06-13 18:09 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Warren @ 2012-06-13 16:00 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Stephen Warren, Mark Brown
On 06/13/2012 08:57 AM, Axel Lin wrote:
> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context()
2012-06-13 14:57 [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context() Axel Lin
2012-06-13 16:00 ` Stephen Warren
@ 2012-06-13 18:09 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-06-13 18:09 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Stephen Warren
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
On Wed, Jun 13, 2012 at 10:57:24PM +0800, Axel Lin wrote:
> regmap_mmio_gen_context() is only used in regmap-mmio.c. Thus make it static.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-13 18:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13 14:57 [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context() Axel Lin
2012-06-13 16:00 ` Stephen Warren
2012-06-13 18:09 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.