]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: iomux-imx31: allow pin_list to be const
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 2 Mar 2011 09:59:48 +0000 (10:59 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 7 Mar 2011 18:29:28 +0000 (19:29 +0100)
commit10a3c45c6821d3ffe974bc5937693f18a16dd96c
treeabdfcb00774a86d5a6ebbedf8720513ba598df48
parent2093023889b8c15bb90acb435e33e2843ef0153c
ARM: iomux-imx31: allow pin_list to be const

This fixes the following warning in a mx3_defconfig build:

arch/arm/mach-mx3/mach-bug.c: In function 'bug_board_init':
arch/arm/mach-mx3/mach-bug.c:47: warning: passing argument 1 of 'mxc_iomux_setup_multiple_pins' discards qualifiers from pointer target type

While at it remove some useless consts from unsigned int arguments.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/iomux-imx31.c
arch/arm/plat-mxc/include/mach/iomux-mx3.h