MIPS: TXX9: Constify gpio_led
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 26 Dec 2017 06:33:10 +0000 (12:03 +0530)
committerJames Hogan <jhogan@kernel.org>
Mon, 19 Feb 2018 10:55:36 +0000 (10:55 +0000)
commit21cff2d946cd4710abac23d6a7b81ff1965f3fed
tree1c017e4953f783d98afcdb28b6f5aa7a9a99dce3
parent041f40f44cd0509a52c66ada27e115429c010d4d
MIPS: TXX9: 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/18008/
[jhogan@kernel.org: improve commit message]
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/txx9/rbtx4927/setup.c