commit | 1fd88d9beff2cb25494d17c240b63dfb700ecc21 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Tue Dec 26 12:03:08 2017 +0530 |
committer | James Hogan <jhogan@kernel.org> | Mon Feb 19 10:55:35 2018 +0000 |
tree | c0afc29424004b1f1d8c914f3d9886c3e8ba885a | |
parent | 2fe69ede3eaf3d10fce2ae91fc0552d42e1d5d47 [diff] |
MIPS: Alchemy: Constify gpio_led 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 <arvind.yadav.cs@gmail.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18006/ [jhogan@kernel.org: improve commit message] Signed-off-by: James Hogan <jhogan@kernel.org>