ARM: S3C24XX: prevent conflicts between ccf and non-ccf s3c24xx-socs
authorHeiko Stuebner <heiko@sntech.de>
Wed, 19 Feb 2014 00:25:54 +0000 (09:25 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 14 Apr 2014 17:11:08 +0000 (02:11 +0900)
commit5ab9a428cf1d118779554b6a20161d7b339310db
tree72c46ee48d15f9b42b3aa9196b56f4d2d9cb448c
parent61fbb1d278cf09f29d67629b139b3ca08acbf177
ARM: S3C24XX: prevent conflicts between ccf and non-ccf s3c24xx-socs

As the conversion to the common-clock-framework is done in multiple
steps, it is necessary to prevent conflicts between the different
struct clk implementations.

For this include the s3c24xx_setup_clocks function only when
SAMSUNG_CLOCK is selected and make the socs we don't convert this
time explicitly depend on SAMSUNG_CLOCK, which gets only selected
automatically if COMMON_CLK is not enabled.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c24xx/Kconfig
arch/arm/mach-s3c24xx/common.c