mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
rtc: meson: 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: Kevin Hilman <khilman@baylibre.com> Link: https://lore.kernel.org/r/20210202112219.3610853-11-alexandre.belloni@bootlin.com
This commit is contained in:
parent
2717c59e26
commit
ef886c440b
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ out_disable_vdd:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static const struct of_device_id meson_rtc_dt_match[] = {
|
||||
static const __maybe_unused struct of_device_id meson_rtc_dt_match[] = {
|
||||
{ .compatible = "amlogic,meson6-rtc", },
|
||||
{ .compatible = "amlogic,meson8-rtc", },
|
||||
{ .compatible = "amlogic,meson8b-rtc", },
|
||||
|
|
Loading…
Add table
Reference in a new issue