diff --git a/target/linux/realtek/patches-6.12/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch b/target/linux/realtek/patches-6.12/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch index 3815ed5eda..04eb36ddf7 100644 --- a/target/linux/realtek/patches-6.12/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch +++ b/target/linux/realtek/patches-6.12/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch @@ -233,7 +233,7 @@ Signed-off-by: Sander Vanheule + return 0; +} + -+static const struct regmap_field *rtl8231_led_get_field(struct device *dev, struct regmap *map, ++static struct regmap_field *rtl8231_led_get_field(struct device *dev, struct regmap *map, + unsigned int port_index, unsigned int led_index) +{ + unsigned int offset = port_index / RTL8231_LED_PER_REG; diff --git a/target/linux/realtek/patches-6.18/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch b/target/linux/realtek/patches-6.18/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch index 27c42c2e92..fe3c935387 100644 --- a/target/linux/realtek/patches-6.18/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch +++ b/target/linux/realtek/patches-6.18/804-leds-Add-support-for-RTL8231-LED-scan-matrix.patch @@ -233,7 +233,7 @@ Signed-off-by: Sander Vanheule + return 0; +} + -+static const struct regmap_field *rtl8231_led_get_field(struct device *dev, struct regmap *map, ++static struct regmap_field *rtl8231_led_get_field(struct device *dev, struct regmap *map, + unsigned int port_index, unsigned int led_index) +{ + unsigned int offset = port_index / RTL8231_LED_PER_REG;