clk: mediatek: Refine the makefile to support multiple clock drivers
authorJames Liao <jamesjj.liao@mediatek.com>
Fri, 19 Aug 2016 05:34:49 +0000 (13:34 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 19 Aug 2016 19:18:38 +0000 (12:18 -0700)
commit2886c84681c4a10a8fecdea58bf749af09406a33
treebc6a0a2f6b1b05ec6772c89a9f56a86315164e3d
parent928f3bfb81e81e7f3ce6d37857a1ae075475678d
clk: mediatek: Refine the makefile to support multiple clock drivers

Add a Kconfig to define clock configuration for each SoC, and
modify the Makefile to build drivers that only selected in config.

Signed-off-by: Shunli Wang <shunli.wang@mediatek.com>
Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
Signed-off-by: Erin Lo <erin.lo@mediatek.com>
Tested-by: John Crispin <blogic@openwrt.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/Kconfig
drivers/clk/mediatek/Kconfig [new file with mode: 0644]
drivers/clk/mediatek/Makefile