Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139985
b: refs/heads/master
c: facdf0e
h: refs/heads/master
i:
  139983: f03ddde
v: v3
  • Loading branch information
Greg Ungerer committed Mar 24, 2009
1 parent 9b18729 commit a467f1f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 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: a5505464c7c133d01f409426982aa28da111ceb8
refs/heads/master: facdf0ed4f594485fb2a1d2d024a150924c6b01c
2 changes: 1 addition & 1 deletion trunk/arch/m68knommu/platform/coldfire/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1

obj-$(CONFIG_COLDFIRE) += dma.o entry.o vectors.o
obj-$(CONFIG_COLDFIRE) += clk.o dma.o entry.o vectors.o
obj-$(CONFIG_M5206) += timers.o
obj-$(CONFIG_M5206e) += timers.o
obj-$(CONFIG_M520x) += pit.o
Expand Down
40 changes: 40 additions & 0 deletions trunk/arch/m68knommu/platform/coldfire/clk.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/***************************************************************************/

/*
* clk.c -- general ColdFire CPU kernel clk handling
*
* Copyright (C) 2009, Greg Ungerer (gerg@snapgear.com)
*/

/***************************************************************************/

#include <linux/kernel.h>
#include <linux/clk.h>
#include <asm/coldfire.h>

/***************************************************************************/

struct clk *clk_get(struct device *dev, const char *id)
{
return NULL;
}

int clk_enable(struct clk *clk)
{
return 0;
}

void clk_disable(struct clk *clk)
{
}

void clk_put(struct clk *clk)
{
}

unsigned long clk_get_rate(struct clk *clk)
{
return MCF_CLK;
}

/***************************************************************************/

0 comments on commit a467f1f

Please sign in to comment.