aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/e750.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-03-05 10:17:53 -0500
committerEric Miao <eric.miao@marvell.com>2009-03-19 04:20:39 -0400
commitc68ffddabcaaa64c6ea681d2944cbda50a8654ea (patch)
tree902543d60f5731206b4aaa0a58be7d17a6b06881 /arch/arm/mach-pxa/e750.c
parentd1b95607e1dde59e2ffae661732c8da34aba445c (diff)
[ARM] pxa: make second argument of clk_add_alias a name instead of the device
clk_add_alias is commonly called for platform devices that are not yet registered in the device tree. Thus the clock alias is associated with NULL device name. Fix this by passing the device name instead of just device pointer. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/e750.c')
-rw-r--r--arch/arm/mach-pxa/e750.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/e750.c b/arch/arm/mach-pxa/e750.c
index be1ab8edb973..1379f9ad66a7 100644
--- a/arch/arm/mach-pxa/e750.c
+++ b/arch/arm/mach-pxa/e750.c
@@ -190,7 +190,7 @@ static struct platform_device *devices[] __initdata = {
190static void __init e750_init(void) 190static void __init e750_init(void)
191{ 191{
192 pxa2xx_mfp_config(ARRAY_AND_SIZE(e750_pin_config)); 192 pxa2xx_mfp_config(ARRAY_AND_SIZE(e750_pin_config));
193 clk_add_alias("CLK_CK3P6MI", &e750_tc6393xb_device.dev, 193 clk_add_alias("CLK_CK3P6MI", e750_tc6393xb_device.name,
194 "GPIO11_CLK", NULL), 194 "GPIO11_CLK", NULL),
195 eseries_get_tmio_gpios(); 195 eseries_get_tmio_gpios();
196 platform_add_devices(devices, ARRAY_SIZE(devices)); 196 platform_add_devices(devices, ARRAY_SIZE(devices));