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)
commit5e2e0195ec89d8e266a2530ffec335c483c64899
tree17da880c25938d08d4649f3607b757d94c9f3716
parent6e92bf5a01afb1f897aa15a34517da07d7c0c320
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