]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: AR7: Constify gpio_led
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 26 Dec 2017 06:33:09 +0000 (12:03 +0530)
committerJames Hogan <jhogan@kernel.org>
Mon, 19 Feb 2018 10:55:36 +0000 (10:55 +0000)
commitd2760cd621dae74a7b7f5be0bad2a41905507fb9
treec14737735a637b0729dbb6660c00674446ec8a01
parent423a856354ec2fadf5a3c1e11b6826afa7d4ff35
MIPS: AR7: 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/18007/
[jhogan@kernel.org: improve commit message]
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/ar7/platform.c