public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Make gpiochip label const
@ 2008-08-12 20:39 Dmitry Baryshkov
  2008-08-12 22:06 ` David Brownell
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Baryshkov @ 2008-08-12 20:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dmitry Baryshkov, David Brownell

Mark gpiochip label as a const char pointer.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
---
 include/asm-generic/gpio.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 6be061d..8ab874a 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -58,7 +58,7 @@ struct module;
  * is calculated by subtracting @base from the gpio number.
  */
 struct gpio_chip {
-	char			*label;
+	const char		*label;
 	struct module		*owner;
 
 	int			(*direction_input)(struct gpio_chip *chip,
-- 
1.5.6.3


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

end of thread, other threads:[~2008-08-20 15:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 20:39 [PATCH] Make gpiochip label const Dmitry Baryshkov
2008-08-12 22:06 ` David Brownell
2008-08-17 19:00   ` Dmitry Baryshkov
2008-08-19  8:43     ` Andrew Morton
2008-08-19 11:13       ` Dmitry
2008-08-19 18:28         ` Andrew Morton
2008-08-20  8:39           ` Dmitry Baryshkov
2008-08-20 15:50             ` David Brownell

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