]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rtc: ds1672: quiet maybe-unused variable warning
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 2 Feb 2021 11:22:03 +0000 (12:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:58:24 +0000 (00:58 +0100)
commitfb38b5da90105cf7b0d7a42c2f656c7ad0e6f960
treebb46d5fd44e0c2ca0111e5dc509c566a25491aa7
parent97de1f587ab909c40a955bb29b8f82896625209c
rtc: ds1672: 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>
Link: https://lore.kernel.org/r/20210202112219.3610853-7-alexandre.belloni@bootlin.com
drivers/rtc/rtc-ds1672.c