]> git.baikalelectronics.ru Git - kernel.git/commit
clk: samsung: add infrastructure to add separate aliases
authorHeiko Stuebner <heiko@sntech.de>
Mon, 18 Mar 2013 04:43:56 +0000 (13:43 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 28 Mar 2013 05:46:33 +0000 (14:46 +0900)
commit360b5c0cc69c3cce58d62703902a0b7a4e119d14
tree17da880c25938d08d4649f3607b757d94c9f3716
parent5dd2b0b77a609ddce205f2a4b503cfa7f930e68d
clk: samsung: add infrastructure to add separate aliases

The current code adds aliases, if necessary, directly when adding
the clock, limiting the number of possible aliases to one.

Some platforms need more than one alias, like the hsmmc pclocks on
s3c2416 which need a "hsmmc" and "mmc_busclk.0" alias for the s3c-
sdhci driver.

Therefore add the possibility to separately add clock aliases for
previously created clocks.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/clk/samsung/clk.c
drivers/clk/samsung/clk.h