mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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
This commit is contained in:
parent
ae1247f79d
commit
97de1f587a
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ static int __init dc_rtc_probe(struct platform_device *pdev)
|
||||||
return devm_rtc_register_device(rtc->rtc_dev);
|
return devm_rtc_register_device(rtc->rtc_dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct of_device_id dc_dt_ids[] = {
|
static const __maybe_unused struct of_device_id dc_dt_ids[] = {
|
||||||
{ .compatible = "cnxt,cx92755-rtc" },
|
{ .compatible = "cnxt,cx92755-rtc" },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue