aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-09-10 05:30:37 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-13 15:07:43 -0400
commit7bdb22c9d4b4f526b81770cd719d2f5dddf0373d (patch)
treef9749ed70888b96d2152131b7ed40ed3274c27b2
parent632480ea6548ae66e89a49ef037fd593c7a52418 (diff)
[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 <dbaryshkov@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-pxa/tosa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 5dab30eafddc..33da99fa1ccf 100644
--- a/arch/arm/mach-pxa/tosa.c
+++ b/arch/arm/mach-pxa/tosa.c
@@ -50,6 +50,7 @@
50#include <asm/mach/sharpsl_param.h> 50#include <asm/mach/sharpsl_param.h>
51 51
52#include "generic.h" 52#include "generic.h"
53#include "clock.h"
53#include "devices.h" 54#include "devices.h"
54 55
55static unsigned long tosa_pin_config[] = { 56static unsigned long tosa_pin_config[] = {
@@ -792,6 +793,8 @@ static void __init tosa_init(void)
792 pxa_set_i2c_info(NULL); 793 pxa_set_i2c_info(NULL);
793 platform_scoop_config = &tosa_pcmcia_config; 794 platform_scoop_config = &tosa_pcmcia_config;
794 795
796 clk_add_alias("CLK_CK3P6MI", &tc6393xb_device.dev, "GPIO11_CLK", NULL);
797
795 platform_add_devices(devices, ARRAY_SIZE(devices)); 798 platform_add_devices(devices, ARRAY_SIZE(devices));
796} 799}
797 800