Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321191
b: refs/heads/master
c: 4b00951
h: refs/heads/master
i:
  321189: 99f9b75
  321187: 4dc2541
  321183: 5ac2b2f
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Aug 1, 2012
1 parent 348c529 commit 3bb7a85
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47cd7343f5467bf38d17a78eb99eaa8019e17007
refs/heads/master: 4b00951f6f2fd335f063e553b474fe4648b3307d
1 change: 1 addition & 0 deletions trunk/arch/mips/loongson1/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ config LOONGSON1_LS1B
select SYS_SUPPORTS_LITTLE_ENDIAN
select SYS_SUPPORTS_HIGHMEM
select SYS_HAS_EARLY_PRINTK
select HAVE_CLK

endchoice

Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/mips/loongson1/common/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,28 @@ struct clk *clk_get(struct device *dev, const char *name)
}
EXPORT_SYMBOL(clk_get);

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

void clk_disable(struct clk *clk)
{
}
EXPORT_SYMBOL(clk_disable);

unsigned long clk_get_rate(struct clk *clk)
{
return clk->rate;
}
EXPORT_SYMBOL(clk_get_rate);

void clk_put(struct clk *clk)
{
}
EXPORT_SYMBOL(clk_put);

static void pll_clk_init(struct clk *clk)
{
u32 pll;
Expand Down

0 comments on commit 3bb7a85

Please sign in to comment.