OMAP: timers: Fix clock source names for OMAP4
The clock sources for timers on OMAP4 (system clock and 32k clock) have their names wronly populated. This patch fixes them so the omap_dm_timer_set_source does not fail anymore. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
parent
89e5ab26d8
commit
1dc993b218
|
@ -264,8 +264,8 @@ static struct omap_dm_timer omap4_dm_timers[] = {
|
||||||
{ .phys_base = 0x4a320000, .irq = OMAP44XX_IRQ_GPT12 },
|
{ .phys_base = 0x4a320000, .irq = OMAP44XX_IRQ_GPT12 },
|
||||||
};
|
};
|
||||||
static const char *omap4_dm_source_names[] __initdata = {
|
static const char *omap4_dm_source_names[] __initdata = {
|
||||||
"sys_ck",
|
"sys_clkin_ck",
|
||||||
"omap_32k_fck",
|
"sys_32k_ck",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
static struct clk *omap4_dm_source_clocks[2];
|
static struct clk *omap4_dm_source_clocks[2];
|
||||||
|
|
Loading…
Reference in New Issue