]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mach-mx35_3ds: Fix build warning due to the lack of 'const' annotation
authorFabio Estevam <festevam@gmail.com>
Tue, 20 Mar 2012 03:09:58 +0000 (00:09 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 2 Apr 2012 09:10:24 +0000 (11:10 +0200)
commitdd59a74cd5e8c759d71f4eef45b55f166d6b3836
tree1e63de1237b99b77b1ae437d33e125c003b07693
parentf6668f74d5b8d670730db2b990d7858425f3b63c
ARM: mach-mx35_3ds: Fix build warning due to the lack of 'const' annotation

Fix the following build warning:

arch/arm/mach-imx/mach-mx35_3ds.c: In function 'mx35_3ds_lcd_set_power':
arch/arm/mach-imx/mach-mx35_3ds.c:112: warning: passing argument 2 of 'gpiochip_find' from incompatible pointer type
include/asm-generic/gpio.h:145: note: expected 'int (*)(struct gpio_chip *, const void *)' but argument is of type 'int (*)(struct gpio_chip *, void *)'

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-mx35_3ds.c