Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365293
b: refs/heads/master
c: f640c0f
h: refs/heads/master
i:
  365291: 31b6b0a
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mike Turquette committed Apr 3, 2013
1 parent 47babe9 commit d7e7e70
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 43 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3566d40c1a4617461b38c82059bdc41d622faa8b
refs/heads/master: f640c0fad698c0e4b07e05373681d3681125d6af
17 changes: 2 additions & 15 deletions trunk/drivers/clk/mvebu/clk-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/io.h>
#include <linux/of.h>
#include <linux/delay.h>
#include "clk-cpu.h"

#define SYS_CTRL_CLK_DIVIDER_CTRL_OFFSET 0x0
#define SYS_CTRL_CLK_DIVIDER_VALUE_OFFSET 0xC
Expand Down Expand Up @@ -173,17 +172,5 @@ void __init of_cpu_clk_setup(struct device_node *node)
kfree(cpuclk);
}

static const __initconst struct of_device_id clk_cpu_match[] = {
{
.compatible = "marvell,armada-xp-cpu-clock",
.data = of_cpu_clk_setup,
},
{
/* sentinel */
},
};

void __init mvebu_cpu_clk_init(void)
{
of_clk_init(clk_cpu_match);
}
CLK_OF_DECLARE(armada_xp_cpu_clock, "marvell,armada-xp-cpu-clock",
of_cpu_clk_setup);
22 changes: 0 additions & 22 deletions trunk/drivers/clk/mvebu/clk-cpu.h

This file was deleted.

6 changes: 1 addition & 5 deletions trunk/drivers/clk/mvebu/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/of_address.h>
#include <linux/clk/mvebu.h>
#include <linux/of.h>
#include "clk-core.h"
#include "clk-cpu.h"
#include "clk-gating-ctrl.h"

void __init mvebu_clocks_init(void)
{
mvebu_core_clk_init();
mvebu_gating_clk_init();
mvebu_cpu_clk_init();
of_clk_init(NULL);
}

0 comments on commit d7e7e70

Please sign in to comment.