Skip to content

Commit

Permalink
[ARM] omap: ensure devname is set for dummy devices
Browse files Browse the repository at this point in the history
This is needed to use these with the clkdev helpers.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Feb 8, 2009
1 parent d5e6072 commit 1e98ffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1e98ffa

Please sign in to comment.