ARM: OMAP2+: make of_device_ids const
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 10 Sep 2014 08:26:17 +0000 (10:26 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Sep 2014 19:37:23 +0000 (12:37 -0700)
commit31957609db529d401658adc2e91ef7df7ea42699
treeb020c9ed66a5e51135e1faaa04cc3fd799ce08bc
parent58cda01ed18945c17ad858dfcf4a9a74ba70157c
ARM: OMAP2+: make of_device_ids const

of_device_ids (i.e. compatible strings and the respective data) are not
supposed to change at runtime. All functions working with of_device_ids
provided by <linux/of.h> work with const of_device_ids. So mark the
non-const function parameters and structs for OMAP2+ as const, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/irq.c
arch/arm/mach-omap2/pdata-quirks.c
arch/arm/mach-omap2/prm_common.c
arch/arm/mach-omap2/timer.c