r8125: use led reg definitions from r8125.h

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 90e406f2ea)
This commit is contained in:
Tianling Shen
2025-06-17 19:54:36 +08:00
parent 4511950362
commit e05f6f77fe
@@ -15,7 +15,7 @@
+static int
+rtl8125_led_configuration(struct rtl8125_private *tp)
+{
+ const int led_regs[] = { 0x18, 0x86, 0x84, 0x96 }; /* LEDSEL 0-3 */
+ const int led_regs[] = { CustomLED, LEDSEL_1_8125, LEDSEL_2_8125, LEDSEL_3_8125 };
+ u32 led_data[4];
+ int ret, i;
+