ARM: shmobile: Only build clocks when COMMON_CLK=n
authorMagnus Damm <damm@opensource.se>
Wed, 17 Jul 2013 20:30:59 +0000 (05:30 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 23 Jul 2013 00:50:59 +0000 (09:50 +0900)
commita360feb9e9e6cc36d61e683c03dc13974663298b
treeec655896784782b15888431f05270d4a556627d9
parent66a5cab04d339d02b93a4671eadf8e251dbfdc2c
ARM: shmobile: Only build clocks when COMMON_CLK=n

Move shared clock.c file and per-SoC clock-xxx.c files
to only build when CONFIG_COMMON_CLK != y.

The regular ARCH_SHMOBILE case with legacy SH clock framework
will build just as before with this patch applied, however
the case when COMMON_CLK=y will exclude all the clock files.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile