Skip to content

Commit 437536c

Browse files
krzklag-linaro
authored andcommitted
leds: ktd2692: Make ktd2692_timing variable static
File-scope 'ktd2692_timing' is not used outside of this unit, so make it static to silence sparse warning: leds-ktd2692.c:62:33: warning: symbol 'ktd2692_timing' was not declared. Should it be static? Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260216110441.160155-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 0600cf9 commit 437536c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/leds/flash/leds-ktd2692.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct ktd2692_led_config_data {
5959
enum led_brightness max_brightness;
6060
};
6161

62-
const struct expresswire_timing ktd2692_timing = {
62+
static const struct expresswire_timing ktd2692_timing = {
6363
.poweroff_us = 700,
6464
.data_start_us = 10,
6565
.end_of_data_low_us = 10,

0 commit comments

Comments
 (0)