aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-01-19 13:56:17 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-08 12:50:12 -0500
commit1e98ffa85e70f423e2e41156cc3d549c353cd897 (patch)
tree4ff80c17d515a97c675de1508ed2beae1deca9d1 /arch/arm
parentd5e6072b753041b56236b014ccfd72a0d3177e08 (diff)
[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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index ce03fa750775..973040441529 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -348,6 +348,7 @@ static void __init omap_hsmmc_reset(void)
348 } 348 }
349 349
350 dummy_pdev.id = i; 350 dummy_pdev.id = i;
351 dev_set_name(&dummy_pdev.dev, "mmci-omap-hs.%d", i);
351 iclk = clk_get(dev, "mmchs_ick"); 352 iclk = clk_get(dev, "mmchs_ick");
352 if (iclk && clk_enable(iclk)) 353 if (iclk && clk_enable(iclk))
353 iclk = NULL; 354 iclk = NULL;