[PATCH] S3C2443: Add devname for hsmmc1 pclk

Kukjin Kim kgene.kim at samsung.com
Fri Oct 14 03:14:25 EDT 2011


Heiko Stübner wrote:
> 
> S3C2443 uses hsmmc1 as its only hsmmc device and for S3C2416/2450 it's
> the second hsmmc channel with the same PCLKCON bit.
> The hsmmc-if clocks on both systems already got a devname, as did the
> hsmmc pclk for hsmmc0 on the S3C2416.
> So to make it possible to identify the hsmmc1 pclk on S3C2416 add the
> correct devname for it. The sclk name on S3C2443 also is s3c-sdhci.1.
> 
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> ---
>  arch/arm/plat-s3c24xx/s3c2443-clock.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-s3c24xx/s3c2443-clock.c b/arch/arm/plat-
> s3c24xx/s3c2443-clock.c
> index b4b2fa1..6408650 100644
> --- a/arch/arm/plat-s3c24xx/s3c2443-clock.c
> +++ b/arch/arm/plat-s3c24xx/s3c2443-clock.c
> @@ -416,6 +416,7 @@ static struct clk init_clocks[] = {
>  		.ctrlbit	= S3C2443_HCLKCON_DMA5,
>  	}, {
>  		.name		= "hsmmc",
> +		.devname	= "s3c-sdhci.1",
>  		.parent		= &clk_h,
>  		.enable		= s3c2443_clkcon_enable_h,
>  		.ctrlbit	= S3C2443_HCLKCON_HSMMC,
> --
> 1.7.2.3

Applied.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.




More information about the linux-arm-kernel mailing list