diff options
author | Fabio Estevam <festevam@gmail.com> | 2011-04-03 22:47:23 -0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 13:11:15 +0200 |
commit | 3da25ccee303add545e49cef5c6cdeb0c1d94300 (patch) | |
tree | 8418e2fc167d1683f5feca0fe2c19d1ecd7b0ae8 /arch/arm | |
parent | c6c83b451c432d0a459df24134969181042e07c7 (diff) | |
download | blackbird-op-linux-3da25ccee303add545e49cef5c6cdeb0c1d94300.tar.gz blackbird-op-linux-3da25ccee303add545e49cef5c6cdeb0c1d94300.zip |
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>
LAKML-Reference: 1301881643-26040-1-git-send-email-festevam@gmail.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 2 |
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 4487779d29c8..1b947e8c9c0c 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c @@ -191,7 +191,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), |