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

This is needed to use these with the clkdev helpers.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King 2009-01-19 18:56:17 +00:00 committed by Russell King
parent d5e6072b75
commit 1e98ffa85e
1 changed files with 1 additions and 0 deletions

View File

@ -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;