]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8861f5b2845df6663a214651f917565bcb5e51c9
treeb020c9ed66a5e51135e1faaa04cc3fd799ce08bc
parent52d3fa97d9f8ae7063cdeb3ffb06d91468be7aa2
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