提交 1e98ffa8 编写于 作者: R Russell King 提交者: Russell King

[ARM] omap: ensure devname is set for dummy devices

This is needed to use these with the clkdev helpers.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 d5e6072b
......@@ -348,6 +348,7 @@ static void __init omap_hsmmc_reset(void)
}
dummy_pdev.id = i;
dev_set_name(&dummy_pdev.dev, "mmci-omap-hs.%d", i);
iclk = clk_get(dev, "mmchs_ick");
if (iclk && clk_enable(iclk))
iclk = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册