We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09471d8 commit 2a388ffCopy full SHA for 2a388ff
drivers/rtc/rtc-zynqmp.c
@@ -318,8 +318,8 @@ static int xlnx_rtc_probe(struct platform_device *pdev)
318
return ret;
319
}
320
321
- /* Getting the rtc_clk info */
322
- xrtcdev->rtc_clk = devm_clk_get_optional(&pdev->dev, "rtc_clk");
+ /* Getting the rtc info */
+ xrtcdev->rtc_clk = devm_clk_get_optional(&pdev->dev, "rtc");
323
if (IS_ERR(xrtcdev->rtc_clk)) {
324
if (PTR_ERR(xrtcdev->rtc_clk) != -EPROBE_DEFER)
325
dev_warn(&pdev->dev, "Device clock not found.\n");
0 commit comments