summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/e740.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov2009-03-05 16:17:53 +0100
committerEric Miao2009-03-19 09:20:39 +0100
commitc68ffddabcaaa64c6ea681d2944cbda50a8654ea (patch)
tree902543d60f5731206b4aaa0a58be7d17a6b06881 /arch/arm/mach-pxa/e740.c
parent[ARM] pxa: add missing pin function for CS2 on GPIO1 (diff)
downloadkernel-qcow2-linux-c68ffddabcaaa64c6ea681d2944cbda50a8654ea.tar.gz
kernel-qcow2-linux-c68ffddabcaaa64c6ea681d2944cbda50a8654ea.tar.xz
kernel-qcow2-linux-c68ffddabcaaa64c6ea681d2944cbda50a8654ea.zip
[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/e740.c')
-rw-r--r--arch/arm/mach-pxa/e740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/e740.c b/arch/arm/mach-pxa/e740.c
index 6d48e00f4f0b..f2402f669b56 100644
--- a/arch/arm/mach-pxa/e740.c
+++ b/arch/arm/mach-pxa/e740.c
@@ -189,7 +189,7 @@ static void __init e740_init(void)
{
pxa2xx_mfp_config(ARRAY_AND_SIZE(e740_pin_config));
eseries_register_clks();
- clk_add_alias("CLK_CK48M", &e740_t7l66xb_device.dev,
+ clk_add_alias("CLK_CK48M", e740_t7l66xb_device.name,
"UDCCLK", &pxa25x_device_udc.dev),
eseries_get_tmio_gpios();
platform_add_devices(devices, ARRAY_SIZE(devices));