diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-08-06 17:24:54 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-09-19 00:11:18 +0200 |
commit | b24c1a10b53e831b28da6a69911061a28b34bbd6 (patch) | |
tree | 3ef440387dc87dbe90ce842312d72ae16dcd7ccf /arch/arm/include/asm/arch-at91/clk.h | |
parent | 7b1dc26fae813fcf7650340803972feb8829853e (diff) |
ARM: atmel: use pcr to enable or disable peripheral clock
When use pcr (peripheral control register), then we won't need
to care about the peripheral ID.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-at91/clk.h')
-rw-r--r-- | arch/arm/include/asm/arch-at91/clk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/clk.h b/arch/arm/include/asm/arch-at91/clk.h index ce9e28f11c..4076a78a86 100644 --- a/arch/arm/include/asm/arch-at91/clk.h +++ b/arch/arm/include/asm/arch-at91/clk.h @@ -80,4 +80,5 @@ static inline unsigned long get_mci_clk_rate(void) int at91_clock_init(unsigned long main_clock); void at91_periph_clk_enable(int id); +void at91_periph_clk_disable(int id); #endif /* __ASM_ARM_ARCH_CLK_H__ */ |