ramips: ER605v2 fix LED function definition
authorGoetz Goerisch <ggoerisch@gmail.com>
Sat, 5 Oct 2024 06:56:43 +0000 (08:56 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 6 Oct 2024 16:58:47 +0000 (18:58 +0200)
commitcffc52bb9adf8e84e4611c88c8ec4ff2d4111a0c
tree54c4c1e7ca96329d7198daf67dae96e584968986
parentb62e6f5beb2a574c67ba5159f0049e54cdf25d69
ramips: ER605v2 fix LED function definition

commit 665c2154ef122d10dfffeca95538ebdff82653b5
added support for ER605v2

All three LEDs where configured with LED_FUNCTION_STATUS
which worked for 23.05 and kernel 5.15.

With the upgrade to kernel 6.6 this leads to a name collision.

Therefore the USB and Power LED now use the common.h function
LED_FUNCTION_USB and LED_FUNCTION_POWER respectivly.

* fixes https://github.com/openwrt/openwrt/issues/16596

Link: https://github.com/openwrt/openwrt/pull/16606
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16606
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/dts/mt7621_tplink_er605-v2.dts