public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd/mc13xxx: fix a sparse warning about mc13xxx_chipname not being declared
@ 2011-09-23 19:51 Uwe Kleine-König
  2011-09-26 10:04 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2011-09-23 19:51 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel, kernel

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/mfd/mc13xxx-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
index edcd397..e9619ac 100644
--- a/drivers/mfd/mc13xxx-core.c
+++ b/drivers/mfd/mc13xxx-core.c
@@ -477,7 +477,7 @@ enum mc13xxx_id {
 	MC13XXX_ID_INVALID,
 };
 
-const char *mc13xxx_chipname[] = {
+static const char *mc13xxx_chipname[] = {
 	[MC13XXX_ID_MC13783] = "mc13783",
 	[MC13XXX_ID_MC13892] = "mc13892",
 };
-- 
1.7.6.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd/mc13xxx: fix a sparse warning about mc13xxx_chipname not being declared
  2011-09-23 19:51 [PATCH] mfd/mc13xxx: fix a sparse warning about mc13xxx_chipname not being declared Uwe Kleine-König
@ 2011-09-26 10:04 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2011-09-26 10:04 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: linux-kernel, kernel

Hi Uwe,

On Fri, Sep 23, 2011 at 09:51:42PM +0200, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  drivers/mfd/mc13xxx-core.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, patch applied.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-26 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-23 19:51 [PATCH] mfd/mc13xxx: fix a sparse warning about mc13xxx_chipname not being declared Uwe Kleine-König
2011-09-26 10:04 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox