From: Paul Parsons Date: Wed, 2 May 2012 15:49:16 +0000 (+0100) Subject: ARM: pxa: hx4700: Initialize DS1WM clock_rate X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=89619d44eec8ed95b3b62b2fd6ddc56aeea41a95;p=deliverable%2Flinux.git ARM: pxa: hx4700: Initialize DS1WM clock_rate The asic3 driver now sets the DS1WM clock_rate from the newly added asic3_platform_data clock_rate field. This patch initializes the asic3_platform_data clock_rate field on the hx4700 platform. Signed-off-by: Paul Parsons Cc: Philipp Zabel Signed-off-by: Haojian Zhuang --- diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c index b83b95a29503..fe8fb7adcac8 100644 --- a/arch/arm/mach-pxa/hx4700.c +++ b/arch/arm/mach-pxa/hx4700.c @@ -291,6 +291,7 @@ static struct asic3_platform_data asic3_platform_data = { .gpio_config_num = ARRAY_SIZE(asic3_gpio_config), .irq_base = IRQ_BOARD_START, .gpio_base = HX4700_ASIC3_GPIO_BASE, + .clock_rate = 4000000, .leds = asic3_leds, };