diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2014-10-01 17:39:29 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-10-05 16:41:53 -0400 |
commit | 98d147f50eb0ce4328e013f5f2c076896003c761 (patch) | |
tree | 01b087778cfff3b8032152ca828bf9aba4882d65 /drivers/clk/Kconfig | |
parent | a66993e05b6af0d981ba2cc9a529df63151942b5 (diff) |
clk: pxa clocks build system fix
Fix the building of pxa clock drivers so that the files are actually
compiled if and only if COMMON_CLK was selected by the architecture.
This prevents conflicts with mach-pxa clock legacy implementation.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r-- | drivers/clk/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 85131ae0b288..1d4d3fc182dd 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig | |||
@@ -120,6 +120,11 @@ config COMMON_CLK_PALMAS | |||
120 | This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO | 120 | This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO |
121 | using common clock framework. | 121 | using common clock framework. |
122 | 122 | ||
123 | config COMMON_CLK_PXA | ||
124 | def_bool COMMON_CLK && ARCH_PXA | ||
125 | ---help--- | ||
126 | Sypport for the Marvell PXA SoC. | ||
127 | |||
123 | source "drivers/clk/qcom/Kconfig" | 128 | source "drivers/clk/qcom/Kconfig" |
124 | 129 | ||
125 | endmenu | 130 | endmenu |