]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0844baf28bfb9fec62478489bfe1b7c1d75d14ae
tree902543d60f5731206b4aaa0a58be7d17a6b06881
parent6f4d6dcf0c127cb6f373ef79d3c3a1db6e6c6468
[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