-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Greg Ungerer
committed
Mar 24, 2009
1 parent
9b18729
commit a467f1f
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a5505464c7c133d01f409426982aa28da111ceb8 | ||
refs/heads/master: facdf0ed4f594485fb2a1d2d024a150924c6b01c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
/***************************************************************************/ |