]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/mach-pxa/clock-pxa2xx.c
ARM: pxa: remove get_memclk_frequency_10khz()
[mirror_ubuntu-artful-kernel.git] / arch / arm / mach-pxa / clock-pxa2xx.c
CommitLineData
4029813c
EM
1/*
2 * linux/arch/arm/mach-pxa/clock-pxa2xx.c
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include <linux/module.h>
10#include <linux/kernel.h>
11#include <linux/init.h>
12
13#include <mach/pxa2xx-regs.h>
14
15#include "clock.h"
16
17void clk_pxa2xx_cken_enable(struct clk *clk)
18{
19 CKEN |= 1 << clk->cken;
20}
21
22void clk_pxa2xx_cken_disable(struct clk *clk)
23{
24 CKEN &= ~(1 << clk->cken);
25}
26
27const struct clkops clk_pxa2xx_cken_ops = {
28 .enable = clk_pxa2xx_cken_enable,
29 .disable = clk_pxa2xx_cken_disable,
30};