mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
gpio_leds are not supposed to change at runtime. struct gpio_led_platform_data contains a const struct gpio_led pointer since v2.6.39, so mark the gpio_led structures const too. Signed-off-by: Arvind Yadav <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/18007/ [[email protected]: improve commit message] Signed-off-by: James Hogan <[email protected]>