Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146837
b: refs/heads/master
c: 36aa1e3
h: refs/heads/master
i:
  146835: 2ffea54
v: v3
  • Loading branch information
Paul Mundt committed May 22, 2009
1 parent faf5753 commit da83f69
Show file tree
Hide file tree
Showing 4 changed files with 8 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: 7fc1e5c15fde0fa9d2c08441f6898a9e51593d47
refs/heads/master: 36aa1e32f451b664adaf3fc9a77d8279b7a833b2
4 changes: 4 additions & 0 deletions trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,11 @@ config SH_PCLK_FREQ
This is necessary for determining the reference clock value on
platforms lacking an RTC.

config SH_CLK_CPG
def_bool y

config SH_CLK_CPG_LEGACY
depends on SH_CLK_CPG
def_bool y if !CPU_SUBTYPE_SH7785

config SH_CLK_MD
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ obj-$(CONFIG_ARCH_SHMOBILE) += shmobile/

obj-$(CONFIG_UBC_WAKEUP) += ubc.o
obj-$(CONFIG_SH_ADC) += adc.o
obj-$(CONFIG_SH_CLK_CPG_LEGACY) += clock-cpg.o
obj-$(CONFIG_SH_CLK_CPG) += clock-cpg.o

obj-y += irq/ init.o clock.o
2 changes: 2 additions & 0 deletions trunk/arch/sh/kernel/cpu/clock-cpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <linux/compiler.h>
#include <asm/clock.h>

#ifdef CONFIG_SH_CLK_CPG_LEGACY
static struct clk master_clk = {
.name = "master_clk",
.flags = CLK_ENABLE_ON_INIT,
Expand Down Expand Up @@ -58,3 +59,4 @@ int __init __weak arch_clk_init(void)
{
return cpg_clk_init();
}
#endif /* CONFIG_SH_CPG_CLK_LEGACY */

0 comments on commit da83f69

Please sign in to comment.