]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gpio: make gpiochip label const
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Thu, 16 Oct 2008 05:03:10 +0000 (22:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:40 +0000 (11:21 -0700)
commit4fd5463c43d75ec919e27abdcfde1b199c19541e
treec9cbc30718184ebc52a912786c4f9856f00bddbb
parent1716b0fea36c2be628440c1050182a1a1e9caae7
gpio: make gpiochip label const

Mark gpiochip label as a const char pointer.  Fixes things like

arch/arm/common/scoop.c: In function `scoop_probe':
arch/arm/common/scoop.c:250: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/gpio.h