Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH] regmap: mmio: Staticize regmap_mmio_gen_context()

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


axel.lin at gmail

Jun 13, 2012, 7:57 AM

Post #1 of 3 (91 views)
Permalink
[PATCH] 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 [at] gmail>
---
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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


swarren at wwwdotorg

Jun 13, 2012, 9:00 AM

Post #2 of 3 (87 views)
Permalink
Re: [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context() [In reply to]

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 [at] gmail>

Acked-by: Stephen Warren <swarren [at] wwwdotorg>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


broonie at opensource

Jun 13, 2012, 11:09 AM

Post #3 of 3 (87 views)
Permalink
Re: [PATCH] regmap: mmio: Staticize regmap_mmio_gen_context() [In reply to]

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.
Attachments: signature.asc (0.82 KB)

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.