Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
437536ca 0600cf91

+1 -1
+1 -1
drivers/leds/flash/leds-ktd2692.c
··· 59 59 enum led_brightness max_brightness; 60 60 }; 61 61 62 - const struct expresswire_timing ktd2692_timing = { 62 + static const struct expresswire_timing ktd2692_timing = { 63 63 .poweroff_us = 700, 64 64 .data_start_us = 10, 65 65 .end_of_data_low_us = 10,