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:
@@ -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;
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user