summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2011-04-03 22:47:23 -0300
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-18 19:51:14 +0200
commitbcb22a94f68cde70e820dc7280d1c731e8e695f7 (patch)
treee8335078e3fbc29f89e36fa86cf975b3f1f26ac8
parentb5eee2fdefc89df312034e5e0e6f5dd55c4e9bae (diff)
downloadop-kernel-dev-bcb22a94f68cde70e820dc7280d1c731e8e695f7.zip
op-kernel-dev-bcb22a94f68cde70e820dc7280d1c731e8e695f7.tar.gz
ARM: mx5/mx53_loco: Fix build warning related to gpio_keys_button structure
Fix the following warning: CC arch/arm/mach-mx5/board-mx53_loco.o arch/arm/mach-mx5/board-mx53_loco.c:203: warning: initialization discards qualifiers from pointer target type Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-mx5/board-mx53_loco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c
index 10a1bea..6206b11 100644
--- a/arch/arm/mach-mx5/board-mx53_loco.c
+++ b/arch/arm/mach-mx5/board-mx53_loco.c
@@ -193,7 +193,7 @@ static iomux_v3_cfg_t mx53_loco_pads[] = {
.wakeup = wake, \
}
-static const struct gpio_keys_button loco_buttons[] __initconst = {
+static struct gpio_keys_button loco_buttons[] = {
GPIO_BUTTON(MX53_LOCO_POWER, KEY_POWER, 1, "power", 0),
GPIO_BUTTON(MX53_LOCO_UI1, KEY_VOLUMEUP, 1, "volume-up", 0),
GPIO_BUTTON(MX53_LOCO_UI2, KEY_VOLUMEDOWN, 1, "volume-down", 0),
OpenPOWER on IntegriCloud