Searched hist:"40 dda872" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | board-osk.c | 40dda872 Tue Dec 26 00:37:11 CST 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ARM: OMAP1: constify gpio_led
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by <linux/leds.h>. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com> 40dda872 Tue Dec 26 00:37:11 CST 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ARM: OMAP1: constify gpio_led gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by <linux/leds.h>. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
|