From: Fabio Estevam Date: Tue, 20 Mar 2012 03:09:58 +0000 (-0300) Subject: ARM: mach-mx35_3ds: Fix build warning due to the lack of 'const' annotation X-Git-Tag: v3.4-rc2~12^2~7^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb26e877771ece01ca755c1bb34a2636a0758223;p=pandora-kernel.git 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 Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed