diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-12-12 20:00:45 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2013-12-12 21:57:42 +0400 |
commit | 83301480111c9ac3fbd03ec5b0c90c21c5aa39f7 (patch) | |
tree | 6a57f8b1b053ec9b470c4056a886163a31a0448e /arch/arm/mach-at91/pm.c | |
parent | b9f10a10cd56414659724bfb9f8b65499f07d538 (diff) | |
download | linux-83301480111c9ac3fbd03ec5b0c90c21c5aa39f7.tar.xz |
ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option
This AT91 specific Kconfig option removed the code that dealt with
programmable clocks. Each AT91 SoC embeds programmable clocks and
there is little gain to remove this code in case that such a clock
is not used.
If this option is not selected, it causes certain drivers to fail
to build. We simply remove this option instead of adding code just
to build a workaround.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-at91/pm.c')
-rw-r--r-- | arch/arm/mach-at91/pm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index d43b79f56e94..590b52dea9f7 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -155,9 +155,6 @@ static int at91_pm_verify_clocks(void) } } - if (!IS_ENABLED(CONFIG_AT91_PROGRAMMABLE_CLOCKS)) - return 1; - /* PCK0..PCK3 must be disabled, or configured to use clk32k */ for (i = 0; i < 4; i++) { u32 css; |