]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] omap: ensure devname is set for dummy devices
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 19 Jan 2009 18:56:17 +0000 (18:56 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:12 +0000 (17:50 +0000)
This is needed to use these with the clkdev helpers.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/devices.c

index ce03fa750775d25d4d715175218354e90a8d2567..973040441529a435303435c95052f8244cfcb0bf 100644 (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;