diff options
author | Tom Rix <trix@redhat.com> | 2023-03-17 15:13:41 -0400 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-03-30 13:58:24 +0100 |
commit | 22dc3789b737fe29d8f54f0d084047aede5550ad (patch) | |
tree | bada597f5c309cd2fae802843e65bfd1f618c2a9 /drivers/leds/leds-lp5523.c | |
parent | 560f2eb7d6a775e488832b724b25bde33ce71b9f (diff) | |
download | linux-stable-22dc3789b737fe29d8f54f0d084047aede5550ad.tar.gz linux-stable-22dc3789b737fe29d8f54f0d084047aede5550ad.tar.bz2 linux-stable-22dc3789b737fe29d8f54f0d084047aede5550ad.zip |
leds: flash: Set variables mvflash_{3,4}ch_regs storage-class-specifier to static
Smatch reports:
drivers/leds/flash/leds-qcom-flash.c:103:18: warning:
symbol 'mvflash_3ch_regs' was not declared. Should it be static?
drivers/leds/flash/leds-qcom-flash.c:115:18: warning:
symbol 'mvflash_4ch_regs' was not declared. Should it be static?
These variables are only used locally, so it should be static.
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230317191341.1670660-1-trix@redhat.com
Diffstat (limited to 'drivers/leds/leds-lp5523.c')
0 files changed, 0 insertions, 0 deletions