Skip to content
Unverified Commit 041f40f4 authored by Arvind Yadav's avatar Arvind Yadav Committed by James Hogan
Browse files

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: default avatarArvind 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: default avatarJames Hogan <jhogan@kernel.org>
parent 1fd88d9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment