-
- Downloads
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>
Showing
- arch/arm/mach-omap2/board-generic.c 1 addition, 1 deletionarch/arm/mach-omap2/board-generic.c
- arch/arm/mach-omap2/common.h 1 addition, 1 deletionarch/arm/mach-omap2/common.h
- arch/arm/mach-omap2/gpmc.c 1 addition, 1 deletionarch/arm/mach-omap2/gpmc.c
- arch/arm/mach-omap2/irq.c 1 addition, 1 deletionarch/arm/mach-omap2/irq.c
- arch/arm/mach-omap2/pdata-quirks.c 1 addition, 1 deletionarch/arm/mach-omap2/pdata-quirks.c
- arch/arm/mach-omap2/prm_common.c 1 addition, 1 deletionarch/arm/mach-omap2/prm_common.c
- arch/arm/mach-omap2/timer.c 3 additions, 3 deletionsarch/arm/mach-omap2/timer.c
Loading
Please register or sign in to comment