From: Dmitry Baryshkov Date: Wed, 10 Sep 2008 09:30:37 +0000 (+0100) Subject: [ARM] 5246/1: tosa: add proper clock alias for tc6393xb clock X-Git-Tag: v2.6.27-rc7~27^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bdb22c9d4b4f526b81770cd719d2f5dddf0373d;p=platform%2Fkernel%2Flinux-3.10.git [ARM] 5246/1: tosa: add proper clock alias for tc6393xb clock Add clock alias for clock that is used by tc6393xb device on tosa. As that chip plays pretty major part in tosa life and is currently disabled, this is 2.4.27 material. Signed-off-by: Dmitry Baryshkov Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 5dab30e..33da99f 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c @@ -50,6 +50,7 @@ #include #include "generic.h" +#include "clock.h" #include "devices.h" static unsigned long tosa_pin_config[] = { @@ -792,6 +793,8 @@ static void __init tosa_init(void) pxa_set_i2c_info(NULL); platform_scoop_config = &tosa_pcmcia_config; + clk_add_alias("CLK_CK3P6MI", &tc6393xb_device.dev, "GPIO11_CLK", NULL); + platform_add_devices(devices, ARRAY_SIZE(devices)); }