[ARM] pxa: make second argument of clk_add_alias a name instead of the device
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 5 Mar 2009 15:17:53 +0000 (18:17 +0300)
committerEric Miao <eric.miao@marvell.com>
Thu, 19 Mar 2009 08:20:39 +0000 (16:20 +0800)
commitc68ffddabcaaa64c6ea681d2944cbda50a8654ea
tree902543d60f5731206b4aaa0a58be7d17a6b06881
parentd1b95607e1dde59e2ffae661732c8da34aba445c
[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>
arch/arm/mach-pxa/clock.c
arch/arm/mach-pxa/clock.h
arch/arm/mach-pxa/e740.c
arch/arm/mach-pxa/e750.c
arch/arm/mach-pxa/e800.c
arch/arm/mach-pxa/tosa.c