mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02: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:
@@ -380,7 +380,7 @@ out_disable_vdd:
|
|||||||
return ret;
|
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,meson6-rtc", },
|
||||||
{ .compatible = "amlogic,meson8-rtc", },
|
{ .compatible = "amlogic,meson8-rtc", },
|
||||||
{ .compatible = "amlogic,meson8b-rtc", },
|
{ .compatible = "amlogic,meson8b-rtc", },
|
||||||
|
Reference in New Issue
Block a user