From: Russell King Date: Mon, 19 Jan 2009 18:56:17 +0000 (+0000) Subject: [ARM] omap: ensure devname is set for dummy devices X-Git-Tag: v2.6.30-rc1~636^2~20^2~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e98ffa85e70f423e2e41156cc3d549c353cd897;p=thirdparty%2Fkernel%2Flinux.git [ARM] omap: ensure devname is set for dummy devices This is needed to use these with the clkdev helpers. Signed-off-by: Russell King --- diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index ce03fa750775d..973040441529a 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) } 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;