]> www.infradead.org Git - linux.git/commit
rtc: digicolor: quiet maybe-unused variable warning
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 2 Feb 2021 11:22:02 +0000 (12:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:58:24 +0000 (00:58 +0100)
commit97de1f587ab909c40a955bb29b8f82896625209c
tree30ae9136bc65df44d1ce34b3954fa955899e6a87
parentae1247f79ddf8107b2d7b6889abbc5885c895b4e
rtc: digicolor: quiet maybe-unused variable warning

When CONFIG_OF is disabled then the matching table is not referenced.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Link: https://lore.kernel.org/r/20210202112219.3610853-6-alexandre.belloni@bootlin.com
drivers/rtc/rtc-digicolor.c