mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +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
@ -380,7 +380,7 @@ static int meson_rtc_probe(struct platform_device *pdev)
|
||||
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…
Reference in New Issue
Block a user