]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: pcf85063: scope pcf85063_config structures
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 24 Jul 2025 09:04:19 +0000 (11:04 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 26 Jul 2025 22:14:59 +0000 (00:14 +0200)
commit95f610e36adc74f3972e31c28567d66777ce37f3
treee4fd13486db81147ac394112756781a9f9284d53
parentae48d3542783cdb826774a751084aa1c536029d5
rtc: pcf85063: scope pcf85063_config structures

Fix possible warning:
>> drivers/rtc/rtc-pcf85063.c:566:37: warning: unused variable 'config_rv8063' [-Wunused-const-variable]
     566 | static const struct pcf85063_config config_rv8063 = {
         |                                     ^~~~~~~~~~~~~

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202507241607.dmz2qrO5-lkp@intel.com/
Link: https://lore.kernel.org/r/20250724090420.917705-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf85063.c