summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Kconfig
diff options
context:
space:
mode:
authorJames Liao <jamesjj.liao@mediatek.com>2016-08-19 07:34:49 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-08-19 21:18:38 +0200
commit2886c84681c4a10a8fecdea58bf749af09406a33 (patch)
treebc6a0a2f6b1b05ec6772c89a9f56a86315164e3d /drivers/clk/Kconfig
parentclk: mediatek: remove __init from clk registration functions (diff)
downloadlinux-2886c84681c4a10a8fecdea58bf749af09406a33.tar.xz
linux-2886c84681c4a10a8fecdea58bf749af09406a33.zip
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>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r--drivers/clk/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index b3ee99adee4b..bf7d540d6965 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -200,6 +200,7 @@ config COMMON_CLK_OXNAS
source "drivers/clk/bcm/Kconfig"
source "drivers/clk/hisilicon/Kconfig"
+source "drivers/clk/mediatek/Kconfig"
source "drivers/clk/meson/Kconfig"
source "drivers/clk/mvebu/Kconfig"
source "drivers/clk/qcom/Kconfig"